public final class ResourceManagerStatus extends Object implements EventHandler<DriverRuntimeProtocol.RuntimeStatusProto>, DriverIdlenessSource
| Modifier and Type | Method and Description |
|---|---|
IdleMessage |
getIdleStatus() |
void |
onNext(DriverRuntimeProtocol.RuntimeStatusProto runtimeStatusProto)
Handles an event
|
void |
setRunning()
Change the state of the Resource Manager to be RUNNING.
|
public void onNext(DriverRuntimeProtocol.RuntimeStatusProto runtimeStatusProto)
EventHandleronNext in interface EventHandler<DriverRuntimeProtocol.RuntimeStatusProto>runtimeStatusProto - an eventpublic void setRunning()
public IdleMessage getIdleStatus()
getIdleStatus in interface DriverIdlenessSourceCopyright © 2015 The Apache Software Foundation. All rights reserved.