Class StandbyCommand
- java.lang.Object
-
- org.nuxeo.ecm.core.management.standby.StandbyCommand
-
- All Implemented Interfaces:
StandbyMXBean
public class StandbyCommand extends Object implements StandbyMXBean
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
StandbyCommand.Registration
-
Field Summary
Fields Modifier and Type Field Description protected StandbyCommand.Registration
registration
-
Fields inherited from interface org.nuxeo.ecm.core.management.standby.StandbyMXBean
NAME
-
-
Constructor Summary
Constructors Constructor Description StandbyCommand()
-
-
-
Field Detail
-
registration
protected final StandbyCommand.Registration registration
-
-
Method Detail
-
standby
public void standby(int delay) throws InterruptedException
- Specified by:
standby
in interfaceStandbyMXBean
- Throws:
InterruptedException
-
resume
public void resume()
- Specified by:
resume
in interfaceStandbyMXBean
-
isStandby
public boolean isStandby()
- Specified by:
isStandby
in interfaceStandbyMXBean
-
-