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)
EventHandler
onNext
in interface EventHandler<ReefServiceProtos.JobStatusProto>
jobStatusProto
- an eventpublic ReefServiceProtos.JobStatusProto getLastStatus()
getLastStatus
in interface JobStatusHandler
Copyright © 2017 The Apache Software Foundation. All rights reserved.