public class StandbyServerSync extends Object implements StandbyStatusMBean, Closeable
Modifier and Type | Class and Description |
---|---|
static class |
StandbyServerSync.Builder |
JMX_NAME, STATUS_CLOSED, STATUS_CLOSING, STATUS_INITIALIZING, STATUS_RUNNING, STATUS_STARTING, STATUS_STOPPED
Modifier and Type | Method and Description |
---|---|
static StandbyServerSync.Builder |
builder() |
void |
close() |
void |
consumeState(String state) |
String |
getMBeanName() |
@NotNull String |
getMode() |
String |
getStatus() |
boolean |
isRunning() |
FileStore |
provideStore() |
void |
start() |
void |
stop() |
public static StandbyServerSync.Builder builder()
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
@NotNull public @NotNull 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–2020 The Apache Software Foundation. All rights reserved.