Interface StandbyStatusMBean
-
- All Known Subinterfaces:
ClientStandbyStatusMBean
- All Known Implementing Classes:
StandbyClientSync,StandbyServerSync
public interface StandbyStatusMBean
-
-
Field Summary
Fields Modifier and Type Field Description static StringJMX_NAMEstatic StringSTATUS_CLOSEDstatic StringSTATUS_CLOSINGstatic StringSTATUS_INITIALIZINGstatic StringSTATUS_RUNNINGstatic StringSTATUS_STARTINGstatic StringSTATUS_STOPPED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull StringgetMode()StringgetStatus()booleanisRunning()voidstart()voidstop()
-
-
-
Field Detail
-
JMX_NAME
static final String JMX_NAME
- See Also:
- Constant Field Values
-
STATUS_INITIALIZING
static final String STATUS_INITIALIZING
- See Also:
- Constant Field Values
-
STATUS_STOPPED
static final String STATUS_STOPPED
- See Also:
- Constant Field Values
-
STATUS_STARTING
static final String STATUS_STARTING
- See Also:
- Constant Field Values
-
STATUS_RUNNING
static final String STATUS_RUNNING
- See Also:
- Constant Field Values
-
STATUS_CLOSING
static final String STATUS_CLOSING
- See Also:
- Constant Field Values
-
STATUS_CLOSED
static final String STATUS_CLOSED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMode
@NotNull @Description("primary or standby") @NotNull String getMode()
-
getStatus
@Description("current status of the service") String getStatus()
-
isRunning
@Description("instance is running") boolean isRunning()
-
stop
@Description("stop the communication") void stop()
-
start
@Description("start the communication") void start()
-
-