Class ResourceManagerId
java.lang.Object
org.apache.flink.util.AbstractID
org.apache.flink.runtime.resourcemanager.ResourceManagerId
- All Implemented Interfaces:
Serializable,Comparable<org.apache.flink.util.AbstractID>
public class ResourceManagerId
extends org.apache.flink.util.AbstractID
Fencing token for the
ResourceManager.- See Also:
-
Field Summary
Fields inherited from class org.apache.flink.util.AbstractID
lowerPart, SIZE, upperPart -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceManagerIdCreates a ResourceManagerId that corresponds to the given UUID.static ResourceManagerIdfromUuidOrNull(UUID uuid) If the given uuid is null, this returns null, otherwise a ResourceManagerId that corresponds to the UUID, viaResourceManagerId(UUID).static ResourceManagerIdgenerate()Generates a new random ResourceManagerId.toUUID()Creates a UUID with the bits from this ResourceManagerId.Methods inherited from class org.apache.flink.util.AbstractID
compareTo, equals, getBytes, getLowerPart, getUpperPart, hashCode, toHexString, toString
-
Method Details
-
toUUID
Creates a UUID with the bits from this ResourceManagerId. -
generate
Generates a new random ResourceManagerId. -
fromUuid
Creates a ResourceManagerId that corresponds to the given UUID. -
fromUuidOrNull
If the given uuid is null, this returns null, otherwise a ResourceManagerId that corresponds to the UUID, viaResourceManagerId(UUID).
-