Class SlotOccupiedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.flink.runtime.taskexecutor.exceptions.TaskManagerException
-
- org.apache.flink.runtime.taskexecutor.exceptions.SlotAllocationException
-
- org.apache.flink.runtime.taskexecutor.exceptions.SlotOccupiedException
-
- All Implemented Interfaces:
Serializable
public class SlotOccupiedException extends SlotAllocationException
Exception which signals that a slot is already occupied by the givenAllocationID
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlotOccupiedException(String message, AllocationID allocationId, JobID jobId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllocationID
getAllocationId()
JobID
getJobId()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SlotOccupiedException
public SlotOccupiedException(String message, AllocationID allocationId, JobID jobId)
-
-
Method Detail
-
getAllocationId
public AllocationID getAllocationId()
-
getJobId
public JobID getJobId()
-
-