Interface StandbyStatusMBean
-
- All Known Subinterfaces:
ClientStandbyStatusMBean
- All Known Implementing Classes:
StandbyClientSync
,StandbyServerSync
public interface StandbyStatusMBean
-
-
Field Summary
Fields Modifier and Type Field Description static String
JMX_NAME
static String
STATUS_CLOSED
static String
STATUS_CLOSING
static String
STATUS_INITIALIZING
static String
STATUS_RUNNING
static String
STATUS_STARTING
static String
STATUS_STOPPED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
getMode()
String
getStatus()
boolean
isRunning()
void
start()
void
stop()
-
-
-
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()
-
-