java.lang.Object
org.opendaylight.controller.cluster.access.concepts.ClientIdentifier
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.concepts.Identifier, org.opendaylight.yangtools.concepts.Immutable, org.opendaylight.yangtools.concepts.WritableIdentifier, org.opendaylight.yangtools.concepts.WritableObject

public final class ClientIdentifier extends Object implements org.opendaylight.yangtools.concepts.WritableIdentifier
A cluster-wide unique identifier of a frontend instance. This identifier discerns between individual incarnations of a particular frontend.
See Also:
  • Method Details

    • create

      public static @NonNull ClientIdentifier create(FrontendIdentifier frontendId, long generation)
    • readFrom

      public static @NonNull ClientIdentifier readFrom(DataInput in) throws IOException
      Throws:
      IOException
    • writeTo

      public void writeTo(DataOutput out) throws IOException
      Specified by:
      writeTo in interface org.opendaylight.yangtools.concepts.WritableObject
      Throws:
      IOException
    • getFrontendId

      public @NonNull FrontendIdentifier getFrontendId()
    • getGeneration

      public long getGeneration()
    • getYangGeneration

      public @NonNull ClientGeneration getYangGeneration()
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.opendaylight.yangtools.concepts.Identifier
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.opendaylight.yangtools.concepts.Identifier
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Specified by:
      toString in interface org.opendaylight.yangtools.concepts.Identifier
      Overrides:
      toString in class Object