public final class RunningJobImpl extends Object implements RunningJob, EventHandler<ReefServiceProtos.JobStatusProto>
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Cancels the running Job.
|
void |
close(byte[] message)
Cancels the running Job.
|
String |
getId()
Returns an identifier of this object.
|
void |
onNext(ReefServiceProtos.JobStatusProto value)
Handles an event.
|
void |
send(byte[] message)
Send a message to the Driver.
|
String |
toString() |
public void close()
RunningJobclose in interface AutoCloseableclose in interface RunningJobpublic void close(byte[] message)
RunningJobclose in interface RunningJobmessage - delivered along with cancel request.public String getId()
IdentifiablegetId in interface RunningJobgetId in interface Identifiablepublic void send(byte[] message)
RunningJobsend in interface RunningJobmessage - to send to the running driverpublic void onNext(ReefServiceProtos.JobStatusProto value)
EventHandleronNext in interface EventHandler<ReefServiceProtos.JobStatusProto>value - an eventCopyright © 2017 The Apache Software Foundation. All rights reserved.