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)
EventHandler
onNext
in interface EventHandler<RuntimeStatusEvent>
runtimeStatusEvent
- an eventpublic void setRunning()
public IdleMessage getIdleStatus()
getIdleStatus
in interface DriverIdlenessSource
Copyright © 2017 The Apache Software Foundation. All rights reserved.