public class StandbyServerSync extends Object implements StandbyStatusMBean, Closeable
JMX_NAME, STATUS_CLOSED, STATUS_CLOSING, STATUS_INITIALIZING, STATUS_RUNNING, STATUS_STARTING, STATUS_STOPPED| Constructor and Description |
|---|
StandbyServerSync(int port,
FileStore fileStore) |
StandbyServerSync(int port,
FileStore fileStore,
boolean secure) |
StandbyServerSync(int port,
FileStore fileStore,
String[] allowedClientIPRanges) |
StandbyServerSync(int port,
FileStore fileStore,
String[] allowedClientIPRanges,
boolean secure) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
consumeState(String state) |
String |
getMBeanName() |
String |
getMode() |
String |
getStatus() |
boolean |
isRunning() |
FileStore |
provideStore() |
void |
start() |
void |
stop() |
public StandbyServerSync(int port,
FileStore fileStore)
public StandbyServerSync(int port,
FileStore fileStore,
boolean secure)
public StandbyServerSync(int port,
FileStore fileStore,
String[] allowedClientIPRanges)
public void consumeState(String state)
public FileStore provideStore()
public void start()
start in interface StandbyStatusMBeanpublic void stop()
stop in interface StandbyStatusMBeanpublic void close()
close in interface Closeableclose in interface AutoCloseable@Nonnull public String getMode()
getMode in interface StandbyStatusMBeanpublic String getStatus()
getStatus in interface StandbyStatusMBeanpublic boolean isRunning()
isRunning in interface StandbyStatusMBeanpublic String getMBeanName()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.