public abstract class AbstractServiceLifecycle extends Service implements io.openmessaging.ServiceLifecycle
Service.Election, Service.ElectionListenerActivity.ServiceState| 构造器和说明 |
|---|
AbstractServiceLifecycle() |
| 限定符和类型 | 方法和说明 |
|---|---|
io.openmessaging.ServiceLifeState |
currentState() |
void |
start() |
void |
stop() |
getServiceState, isReady, isStarted, isStopped, stop, validate, willStopafterStart, afterStop, await, beforeStart, beforeStop, convert, doStart, doStop, getReadLock, getWriteLock, startErrorCopyright © 2020 Joyqueue Community. All rights reserved.