public interface MasterProcess extends Process
Modifier and Type | Interface and Description |
---|---|
static class |
MasterProcess.Factory
Factory for creating
MasterProcess . |
Modifier and Type | Method and Description |
---|---|
<T extends Master> |
getMaster(Class<T> clazz) |
InetSocketAddress |
getRpcAddress() |
long |
getStartTimeMs() |
long |
getUptimeMs() |
InetSocketAddress |
getWebAddress() |
boolean |
isInSafeMode() |
boolean |
isServing() |
start, stop, waitForReady
<T extends Master> T getMaster(Class<T> clazz)
T
- the type of the master to getclazz
- the class of the master to getInetSocketAddress getRpcAddress()
long getStartTimeMs()
long getUptimeMs()
InetSocketAddress getWebAddress()
boolean isInSafeMode()
boolean isServing()
Copyright © 2023. All Rights Reserved.