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