Class DispatcherId

java.lang.Object
org.apache.flink.util.AbstractID
org.apache.flink.runtime.dispatcher.DispatcherId
All Implemented Interfaces:
Serializable, Comparable<org.apache.flink.util.AbstractID>

public class DispatcherId extends org.apache.flink.util.AbstractID
Fencing token of the Dispatcher.
See Also:
  • Field Summary

    Fields inherited from class org.apache.flink.util.AbstractID

    lowerPart, SIZE, upperPart
  • Method Summary

    Modifier and Type
    Method
    Description
    fromUuid(UUID uuid)
    Creates a new DispatcherId that corresponds to the UUID.
    Generates a new random DispatcherId.
     

    Methods inherited from class org.apache.flink.util.AbstractID

    compareTo, equals, getBytes, getLowerPart, getUpperPart, hashCode, toHexString, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • toUUID

      public UUID toUUID()
    • generate

      public static DispatcherId generate()
      Generates a new random DispatcherId.
    • fromUuid

      public static DispatcherId fromUuid(UUID uuid)
      Creates a new DispatcherId that corresponds to the UUID.