@InterfaceAudience.Private public interface CoordinatedStateManager
Modifier and Type | Method and Description |
---|---|
Server |
getServer() |
TableStateManager |
getTableStateManager()
Returns implementation of TableStateManager.
|
void |
initialize(Server server)
Initialize coordinated state management service.
|
void |
start()
Starts service.
|
void |
stop()
Stops service.
|
void initialize(Server server)
server
- server instance to run within.void start()
void stop()
Server getServer()
TableStateManager getTableStateManager() throws InterruptedException, CoordinatedStateException
InterruptedException
- if operation is interruptedCoordinatedStateException
- if error happens in underlying coordination mechanism