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 ofJobID
andTriggerId
used as a key to a hash based collection.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
org.apache.flink.api.common.JobID
getJobId()
Get the job id for the given operation key.int
hashCode()
static AsynchronousJobOperationKey
of(TriggerId triggerId, org.apache.flink.api.common.JobID jobId)
String
toString()
-
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:
equals
in classOperationKey
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classOperationKey
-
-