public class LoggingJobStatusHandler extends Object implements JobStatusHandler
| Modifier and Type | Method and Description |
|---|---|
ReefServiceProtos.JobStatusProto |
getLastStatus()
Return the last known status of the REEF job.
|
void |
onNext(ReefServiceProtos.JobStatusProto jobStatusProto)
Handles an event.
|
public void onNext(ReefServiceProtos.JobStatusProto jobStatusProto)
EventHandleronNext in interface EventHandler<ReefServiceProtos.JobStatusProto>jobStatusProto - an eventpublic ReefServiceProtos.JobStatusProto getLastStatus()
getLastStatus in interface JobStatusHandlerCopyright © 2017 The Apache Software Foundation. All rights reserved.