public final class ResourceManagerStatus extends Object implements EventHandler<RuntimeStatusEvent>, DriverIdlenessSource
| Modifier and Type | Method and Description |
|---|---|
IdleMessage |
getIdleStatus()
Driver is idle if, regardless of status, it has no evaluators allocated
and no pending container requests.
|
void |
onNext(RuntimeStatusEvent runtimeStatusEvent)
Handles an event.
|
void |
setRunning()
Change the state of the Resource Manager to be RUNNING.
|
public void onNext(RuntimeStatusEvent runtimeStatusEvent)
EventHandleronNext in interface EventHandler<RuntimeStatusEvent>runtimeStatusEvent - an eventpublic void setRunning()
public IdleMessage getIdleStatus()
getIdleStatus in interface DriverIdlenessSourceCopyright © 2017 The Apache Software Foundation. All rights reserved.