public class StandbyServer extends Object implements StandbyStatusMBean, Closeable
JMX_NAME, STATUS_CLOSED, STATUS_CLOSING, STATUS_INITIALIZING, STATUS_RUNNING, STATUS_STARTING, STATUS_STOPPED
Constructor and Description |
---|
StandbyServer(int port,
FileStore store) |
StandbyServer(int port,
FileStore store,
boolean secure) |
StandbyServer(int port,
FileStore store,
String[] allowedClientIPRanges) |
StandbyServer(int port,
FileStore store,
String[] allowedClientIPRanges,
boolean secure) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getMBeanName() |
String |
getMode() |
String |
getStatus() |
boolean |
isRunning() |
void |
start() |
void |
stop() |
public StandbyServer(int port, FileStore store) throws CertificateException, SSLException
CertificateException
SSLException
public StandbyServer(int port, FileStore store, boolean secure) throws CertificateException, SSLException
CertificateException
SSLException
public StandbyServer(int port, FileStore store, String[] allowedClientIPRanges) throws CertificateException, SSLException
CertificateException
SSLException
public StandbyServer(int port, FileStore store, String[] allowedClientIPRanges, boolean secure) throws CertificateException, SSLException
CertificateException
SSLException
public String getMBeanName()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public void start()
start
in interface StandbyStatusMBean
public String getMode()
getMode
in interface StandbyStatusMBean
public boolean isRunning()
isRunning
in interface StandbyStatusMBean
public void stop()
stop
in interface StandbyStatusMBean
public String getStatus()
getStatus
in interface StandbyStatusMBean
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.