public final class REEFEventHandlers extends Object implements AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
onResourceAllocation(ResourceAllocationEvent resourceAllocationEvent)
Inform REEF of a fresh resource allocation.
|
void |
onRuntimeStatus(RuntimeStatusEvent runtimeStatusEvent)
Update REEF's view on the runtime status.
|
public void onRuntimeStatus(RuntimeStatusEvent runtimeStatusEvent)
runtimeStatusEvent
- public void onResourceAllocation(ResourceAllocationEvent resourceAllocationEvent)
resourceAllocationEvent
- public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2017 The Apache Software Foundation. All rights reserved.