Class DispatcherId
- java.lang.Object
-
- org.apache.flink.util.AbstractID
-
- org.apache.flink.runtime.dispatcher.DispatcherId
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractID>
public class DispatcherId extends AbstractID
Fencing token of theDispatcher
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.flink.util.AbstractID
lowerPart, SIZE, upperPart
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DispatcherId
fromUuid(UUID uuid)
Creates a new DispatcherId that corresponds to the UUID.static DispatcherId
generate()
Generates a new random DispatcherId.UUID
toUUID()
-
Methods inherited from class org.apache.flink.util.AbstractID
compareTo, equals, getBytes, getLowerPart, getUpperPart, hashCode, toHexString, toString
-
-
-
-
Method Detail
-
toUUID
public UUID toUUID()
-
generate
public static DispatcherId generate()
Generates a new random DispatcherId.
-
fromUuid
public static DispatcherId fromUuid(UUID uuid)
Creates a new DispatcherId that corresponds to the UUID.
-
-