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 StandbyStatusMBean
public void stop()
stop
in interface StandbyStatusMBean
public void close()
close
in interface Closeable
close
in interface AutoCloseable
@Nonnull public String getMode()
getMode
in interface StandbyStatusMBean
public String getStatus()
getStatus
in interface StandbyStatusMBean
public boolean isRunning()
isRunning
in interface StandbyStatusMBean
public String getMBeanName()
Copyright © 2012-2019 The Apache Software Foundation. All Rights Reserved.