| Modifier and Type | Field and Description |
|---|---|
| private static final AtomicLong | |
| private int | |
| private final byte[] | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ThreadId | |
| public boolean | Returns: true if this object is the same as the obj argument;
false otherwise.the reference object with which to compare. obj)Overrides java. Indicates whether some other object is equal to this one. |
| public byte[] | |
| public int | Returns: a hash code value for this object.Overrides java. Returns a hash code value for the object. |
| public String | Returns: a string representation of the object.Overrides java. Returns a string representation of the object. |
| count | back to summary |
|---|---|
| private static final AtomicLong count | |
| hash | back to summary |
|---|---|
| private int hash | |
| id | back to summary |
|---|---|
| private final byte[] id | |
| PREFIX | back to summary |
|---|---|
| private static final String PREFIX | |
| ThreadId | back to summary |
|---|---|
| public ThreadId(byte[] id) | |
| createFresh | back to summary |
|---|---|
| public static ThreadId createFresh() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Indicates whether some other object is equal to this one.
| |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hash code value for the object.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation of the object.
| |