public interface StandbyStatusMBean
| Modifier and Type | Field and 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 |
| Modifier and Type | Method and Description |
|---|---|
String |
getMode() |
String |
getStatus() |
boolean |
isRunning() |
void |
start() |
void |
stop() |
static final String JMX_NAME
static final String STATUS_INITIALIZING
static final String STATUS_STOPPED
static final String STATUS_STARTING
static final String STATUS_RUNNING
static final String STATUS_CLOSING
static final String STATUS_CLOSED
@Nonnull @Description(value="primary or standby") String getMode()
@Description(value="current status of the service") String getStatus()
@Description(value="instance is running") boolean isRunning()
@Description(value="stop the communication") void stop()
@Description(value="start the communication") void start()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.