|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILoadSource
ILoadSource defines a simple interface to enable the
interposition of additional logic in the work-flow of an actor. At present,
this interface is enabled only on service manager actors. The most prevailing
use of the interface is to inject a load signal into a service manager, and
hence it name. However, implementors of the interface are not limited to this
particular use. While implementations can perform a range of operations, be
advised that the proper location for policy choices is inside a policy
module.
IPolicy| Method Summary | |
|---|---|
LoggingTool |
getLogger()
Returns the logger associated with the controller. |
void |
setActor(IActor actor)
Attach the actor |
void |
tick(long cycle)
Informs the load source that another cycle has passed. |
| Methods inherited from interface orca.shirako.api.IInitialize |
|---|
initialize |
| Method Detail |
|---|
void setActor(IActor actor)
actor - the service managervoid tick(long cycle)
cycle - this cycleLoggingTool getLogger()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||