public class JobMasterId
extends org.apache.flink.util.AbstractID
JobMaster fencing token.| 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.
|
public JobMasterId(UUID uuid)
public UUID toUUID()
public static JobMasterId generate()
public static JobMasterId fromUuidOrNull(@Nullable UUID uuid)
JobMasterId(UUID).Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.