orca.shirako.api
Interface IServiceManager
- All Superinterfaces:
- IActor, IActorIdentity, IActorPublic, IClientActor, IClientPublic, IInitialize, IRecover, IReservationOperations, ISerialize, IServiceManagerPublic, ISliceOperations, ITick
- All Known Implementing Classes:
- ServiceManager
public interface IServiceManager
- extends IClientActor, IServiceManagerPublic
IServiceManager defines the interface for a Shirako actor
acting in the service manager role.
| Methods inherited from interface orca.shirako.api.IClientActor |
addBroker, claim, claim, claim, demand, extendTicket, extendTicket, getBroker, getBrokers, getDefaultBroker, ticket, ticket |
| Methods inherited from interface orca.shirako.api.IActor |
actorAdded, getActorClock, getCurrentCycle, getDescription, getLogger, getPolicy, getShirakoPlugin, getType, initializeKeyStore, isFromDatabase, isRecovered, isStopped, recover, setActorClock, setDescription, setGuid, setIdentity, setLogger, setPolicy, setRecovered, setShirakoPlugin, start, stop |
| Methods inherited from interface orca.shirako.api.IReservationOperations |
close, close, close, extend, extend, getReservation, getReservations, register, removeReservation, removeReservation, reregister, unregister, unregister |
redeem
void redeem(ReservationClient reservation)
throws java.lang.Exception
- Issues a redeem request for the given reservation. Note: the reservation
must have already been registered with the actor.
- Parameters:
reservation - reservation to be redeemed
- Throws:
java.lang.Exception- See Also:
IReservationOperations#register(orca.shirako.kernel.Reservation)
redeem
void redeem(ReservationSet set)
- Issues a redeem request for every reservation in the set. All exceptions
are caught and logged but no exception is propagated. No information will
be delivered to indicate that some failure has taken place, e.g., failure
to communicate with a broker. Inspect the state of individual
reservations to determine whether/what failures have taken place.
- Parameters:
set - set of reservations to redeem
extendLease
void extendLease(ReservationClient reservation)
throws java.lang.Exception
- Issues an extend lease request for the given reservation. Note: the
reservation must have already been registered with the actor.
- Parameters:
reservation - reservation to be redeemed
- Throws:
java.lang.Exception- See Also:
IReservationOperations#register(orca.shirako.kernel.Reservation)
extendLease
void extendLease(ReservationSet set)
throws java.lang.Exception
- Issues an extend lease request for every reservation in the set. All
exceptions are caught and logged but no exception is propagated. No
information will be delivered to indicate that some failure has taken
place, e.g., failure to communicate with a broker. Inspect the state of
individual reservations to determine whether/what failures have taken
place.
- Parameters:
set - set of reservations to extend the lease for
- Throws:
java.lang.Exception
getControllers
java.util.Vector<IController> getControllers()
- Returns all registered controllers.
- Returns:
- an array of registered controllers
setLoadSource
void setLoadSource(ILoadSource source)
- Sets the load source.
- Parameters:
source - load source to set
getLoadSource
ILoadSource getLoadSource()
- Returns the load source.
- Returns:
- the load source
Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.