|
||||||||||
| 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.StartLazyRedeployAutomaticStrategy
@Module public class StartLazyRedeployAutomaticStrategy
The start-mode="lazy", 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 StartLazyRedeployAutomaticStrategy |
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 for a request, redeploying if necessary. |
|
|
startOnInit(DeployController<I> controller)
Called at initialization time for automatic start. |
|
|
subrequest(DeployController<I> controller)
Returns the current instance for a subrequest like an include, 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 StartLazyRedeployAutomaticStrategy 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 | |||||||||