public interface DeployControllerStrategy
Modifier and Type | Method and Description |
---|---|
<I extends DeployInstance> |
alarm(DeployController<I> controller)
On a timeout, update or restart as necessary.
|
<I extends DeployInstance> |
request(DeployController<I> controller)
On a top-level request, returns the deploy instance, starting if necessary.
|
<I extends DeployInstance> |
start(DeployController<I> controller)
Starts the instance from an admin command.
|
<I extends DeployInstance> |
startOnInit(DeployController<I> controller)
Called at initialization time for automatic start.
|
<I extends DeployInstance> |
stop(DeployController<I> controller)
Stops the instance from an admin command.
|
<I extends DeployInstance> |
subrequest(DeployController<I> controller)
On a sub-request, returns the deploy instance, starting if necessary.
|
<I extends DeployInstance> |
update(DeployController<I> controller)
Checks for updates from an admin command.
|
<I extends DeployInstance> void startOnInit(DeployController<I> controller)
controller
- the owning controller<I extends DeployInstance> void start(DeployController<I> controller)
controller
- the owning controller<I extends DeployInstance> void stop(DeployController<I> controller)
controller
- the owning controller<I extends DeployInstance> void update(DeployController<I> controller)
controller
- the owning controller<I extends DeployInstance> I request(DeployController<I> controller)
controller
- the owning controller<I extends DeployInstance> I subrequest(DeployController<I> controller)
controller
- the owning controller<I extends DeployInstance> void alarm(DeployController<I> controller)
controller
- the owning controller