Class AsynchronousJobOperationKey
- java.lang.Object
-
- org.apache.flink.runtime.rest.handler.async.OperationKey
-
- org.apache.flink.runtime.rest.handler.job.AsynchronousJobOperationKey
-
- All Implemented Interfaces:
Serializable
@Immutable public class AsynchronousJobOperationKey extends OperationKey
A pair ofJobIDandTriggerIdused as a key to a hash based collection.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.apache.flink.api.common.JobIDgetJobId()Get the job id for the given operation key.inthashCode()static AsynchronousJobOperationKeyof(TriggerId triggerId, org.apache.flink.api.common.JobID jobId)StringtoString()-
Methods inherited from class org.apache.flink.runtime.rest.handler.async.OperationKey
getTriggerId
-
-
-
-
Method Detail
-
of
public static AsynchronousJobOperationKey of(TriggerId triggerId, org.apache.flink.api.common.JobID jobId)
-
getJobId
public org.apache.flink.api.common.JobID getJobId()
Get the job id for the given operation key.- Returns:
- job id
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classOperationKey
-
hashCode
public int hashCode()
- Overrides:
hashCodein classOperationKey
-
-