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.AbstractIDFencing token for theResourceManager.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceManagerIdfromUuid(UUID uuid)Creates 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.UUIDtoUUID()Creates a UUID with the bits from this ResourceManagerId.
-
-
-
Method Detail
-
toUUID
public UUID toUUID()
Creates a UUID with the bits from this ResourceManagerId.
-
generate
public static ResourceManagerId generate()
Generates a new random ResourceManagerId.
-
fromUuid
public static ResourceManagerId fromUuid(UUID uuid)
Creates a ResourceManagerId that corresponds to the given UUID.
-
fromUuidOrNull
public static ResourceManagerId fromUuidOrNull(@Nullable UUID uuid)
If the given uuid is null, this returns null, otherwise a ResourceManagerId that corresponds to the UUID, viaResourceManagerId(UUID).
-
-