public class ResourceManagerId extends AbstractID
ResourceManager
.lowerPart, SIZE, upperPart
Modifier and Type | Method and Description |
---|---|
static ResourceManagerId |
fromUuid(UUID uuid)
Creates a ResourceManagerId that corresponds to the given UUID.
|
static ResourceManagerId |
fromUuidOrNull(UUID uuid)
If the given uuid is null, this returns null, otherwise a ResourceManagerId that
corresponds to the UUID, via
ResourceManagerId(UUID) . |
static ResourceManagerId |
generate()
Generates a new random ResourceManagerId.
|
UUID |
toUUID()
Creates a UUID with the bits from this ResourceManagerId.
|
compareTo, equals, getBytes, getLowerPart, getUpperPart, hashCode, toString
public UUID toUUID()
public static ResourceManagerId generate()
public static ResourceManagerId fromUuid(UUID uuid)
public static ResourceManagerId fromUuidOrNull(@Nullable UUID uuid)
ResourceManagerId(UUID)
.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.