Class ThreadId


  • public final class ThreadId
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ThreadId​(byte[] id)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ThreadId createFresh()  
      boolean equals​(java.lang.Object obj)
      Indicates whether some other object is equal to this one.
      byte[] getBytes()  
      int hashCode()
      Returns a hash code value for the object.
      java.lang.String toString()
      Returns a string representation of the object.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ThreadId

        public ThreadId​(byte[] id)
    • Method Detail

      • createFresh

        public static ThreadId createFresh()
      • equals

        public boolean equals​(java.lang.Object obj)
        Indicates whether some other object is equal to this one.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the reference object with which to compare.
        Returns:
        true if this object is the same as the obj argument; false otherwise.
        See Also:
        Object.equals(java.lang.Object)
      • hashCode

        public int hashCode()
        Returns a hash code value for the object.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        a hash code value for this object.
        See Also:
        Object.hashCode()
      • toString

        public java.lang.String toString()
        Returns a string representation of the object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of the object.
        See Also:
        Object.toString()
      • getBytes

        public byte[] getBytes()