Interface TaskSlotPayload
- All Known Implementing Classes:
Task
public interface TaskSlotPayload
Payload interface for
TaskSlot.-
Method Summary
Modifier and TypeMethodDescriptionvoidfailExternally(Throwable cause) Fail the payload with the given throwable.org.apache.flink.api.common.JobIDgetJobID()
-
Method Details
-
getJobID
org.apache.flink.api.common.JobID getJobID() -
getExecutionId
ExecutionAttemptID getExecutionId() -
getAllocationId
AllocationID getAllocationId() -
getTerminationFuture
CompletableFuture<?> getTerminationFuture() -
failExternally
Fail the payload with the given throwable. This operation should eventually complete the termination future.- Parameters:
cause- of the failure
-