|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.env.deploy.AbstractDeployControllerStrategy
com.caucho.env.deploy.StartAutoRedeployAutoStrategy
@Module public class StartAutoRedeployAutoStrategy
The start-mode="automatic", redeploy-model="automatic" controller strategy.
input | stopped | active | modified | error |
---|---|---|---|---|
request | startImpl | - | restartImpl | restartImpl |
include | startImpl | - | - | - |
start | startImpl | - | restartImpl | restartImpl |
restart | startImpl | - | restartImpl | restartImpl |
stop | - | stopImpl | stopImpl | stopImpl |
alarm | - | - | stopImpl | stopImpl |
Field Summary | |
---|---|
static StartAutoRedeployAutoStrategy |
STRATEGY
|
Method Summary | ||
---|---|---|
|
alarm(DeployController<I> controller)
Redeployment on a timeout alarm. |
|
static DeployControllerStrategy |
create()
Returns the start="lazy" redeploy="automatic" strategy |
|
|
request(DeployController<I> controller)
Returns the current instance, redeploying if necessary. |
|
|
startOnInit(DeployController<I> controller)
Called at initialization time for automatic start. |
|
|
subrequest(DeployController<I> controller)
Returns the current instance, starting if necessary. |
|
|
update(DeployController<I> controller)
Checks for updates from an admin command. |
Methods inherited from class com.caucho.env.deploy.AbstractDeployControllerStrategy |
---|
start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final StartAutoRedeployAutoStrategy STRATEGY
Method Detail |
---|
public static DeployControllerStrategy create()
public <I extends DeployInstance> void startOnInit(DeployController<I> controller)
controller
- the owning controllerpublic <I extends DeployInstance> void update(DeployController<I> controller)
controller
- the owning controllerpublic <I extends DeployInstance> I request(DeployController<I> controller)
controller
- the owning controller
public <I extends DeployInstance> I subrequest(DeployController<I> controller)
controller
- the owning controller
public <I extends DeployInstance> void alarm(DeployController<I> controller)
controller
- the owning controller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |