|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IClientReservation
IClientReservation defines the reservation interface for
actors acting as clients of other actors.
| Field Summary |
|---|
| Fields inherited from interface orca.shirako.api.IReservation |
|---|
CategoryAll, CategoryAuthority, CategoryBroker, CategoryClient, PropertyClass, PropertyID |
| Method Summary | |
|---|---|
IBrokerProxy |
getBroker()
Returns a proxy to the broker linked to this reservation. |
Term |
getPreviousTicketTerm()
Returns the previous ticket term. |
int |
getSequence()
Returns the reservation sequence number for outgoing messages. |
ResourceSet |
getSuggestedResources()
Returns the resources suggested to the policy for a new/extend request for the reservation. |
Term |
getSuggestedTerm()
Returns the term suggested to the policy for a new/extend request for the reservation. |
ResourceType |
getSuggestedType()
Returns the most recently suggest resource type. |
Term |
getTicketTerm()
Returns the current ticket term. |
boolean |
isPendingRecover()
Checks if a recovery operation is in progress for the reservation. |
void |
setBroker(IBrokerProxy broker)
Sets the broker who will issue tickets for the reservation. |
void |
setPendingRecover(boolean pendingRecover)
Indicates if a recovery operation for the reservation is/is going to be in progress. |
void |
setRenewable(boolean renewable)
Controls the renewable flag. |
void |
setSequence(int sequence)
Sets the reservation sequence number for outgoing messages. |
void |
setSuggested()
Indicates that a suggestion to the policy for resources and/or term has been made. |
void |
setSuggested(Term term,
ResourceSet resources)
Sets the term and resources suggested to the policy for a new/extend request for the reservation. |
void |
setSuggestedResources(ResourceSet resources)
Sets the resources suggested to the policy for a new/extend request for the reservation. |
| Methods inherited from interface orca.shirako.api.IResourceReservation |
|---|
count, fail, fail, failWarn, forecastUnits, getApprovedResources, getApprovedTerm, getApprovedType, getApprovedUnits, getLeasedAbstractUnits, getLeasedUnits, getPreviousResources, getPreviousTerm, getRequestedResources, getRequestedTerm, getRequestedType, getRequestedUnits, getResources, getTerm, getType, getUnits, holding, isApproved, isBidPending, isRenewable, setApproved, setApproved, setApprovedResources, setApprovedTerm, setBidPending |
| Methods inherited from interface orca.shirako.api.IReservation |
|---|
awaitActive, awaitClosed, awaitTicketed, clearDirty, getActor, getCategory, getCloseTime, getPendingState, getPendingStateName, getPreviousReservationState, getReservationID, getReservationState, getSlice, getState, getStateName, hasUncommittedTransition, isDirty, registerListener, setCloseTime, setDirty, setSlice, unregisterListener |
| Methods inherited from interface orca.shirako.api.ISerialize |
|---|
reset, save, save |
| Methods inherited from interface orca.shirako.api.IRecover |
|---|
revisit |
| Methods inherited from interface orca.shirako.api.IReservationStatus |
|---|
isActive, isActiveTicketed, isClosed, isClosing, isExpired, isExpired, isExtended, isExtendingLease, isExtendingTicket, isFailed, isNascent, isNoPending, isPriming, isRedeeming, isTerminal, isTicketed, isTicketing, setExpired |
| Method Detail |
|---|
void setRenewable(boolean renewable)
true - if the reservation should be set marked as renewable or false
otherwise
void setBroker(IBrokerProxy broker)
throws java.lang.Exception
broker - broker request tickets from
java.lang.Exception - if the reservation is in the wrong stateIBrokerProxy getBroker()
int getSequence()
void setSequence(int sequence)
sequence - sequence numberTerm getTicketTerm()
Term getPreviousTicketTerm()
Term getSuggestedTerm()
void setSuggestedResources(ResourceSet resources)
resources - suggested resourcesResourceSet getSuggestedResources()
void setSuggested(Term term,
ResourceSet resources)
term - suggested termresources - suggested resourcesvoid setSuggested()
ResourceType getSuggestedType()
boolean isPendingRecover()
void setPendingRecover(boolean pendingRecover)
pendingRecover - true, a recovery operation is in progress, false -
no recovery operation is in progress.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||