ChannelId implementation.
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final int | |
| private static final InternalLogger | |
| private transient String | |
| private static final byte[] | |
| private static final AtomicInteger | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final long | |
| private transient String | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public String | asLongText()
Implements io. ChannelId.
|
| public String | asShortText()
Implements io. ChannelId.
|
| public int | compareTo(final ChannelId
the object to be compared. o)Implements java. |
| pack-priv static int | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int | |
| pack-priv static int | |
| public static DefaultChannelId | |
| private String | |
| pack-priv static int | |
| public String | |
| private int | |
| private int |
| data | back to summary |
|---|---|
| private final byte[] data | |
| hashCode | back to summary |
|---|---|
| private final int hashCode | |
| logger | back to summary |
|---|---|
| private static final InternalLogger logger | |
| longValue | back to summary |
|---|---|
| private transient String longValue | |
| MACHINE_ID | back to summary |
|---|---|
| private static final byte[] MACHINE_ID | |
| nextSequence | back to summary |
|---|---|
| private static final AtomicInteger nextSequence | |
| PROCESS_ID | back to summary |
|---|---|
| private static final int PROCESS_ID | |
| PROCESS_ID_LEN | back to summary |
|---|---|
| private static final int PROCESS_ID_LEN | |
| RANDOM_LEN | back to summary |
|---|---|
| private static final int RANDOM_LEN | |
| SEQUENCE_LEN | back to summary |
|---|---|
| private static final int SEQUENCE_LEN | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| shortValue | back to summary |
|---|---|
| private transient String shortValue | |
| TIMESTAMP_LEN | back to summary |
|---|---|
| private static final int TIMESTAMP_LEN | |
| DefaultChannelId | back to summary |
|---|---|
| private DefaultChannelId() | |
| appendHexDumpField | back to summary |
|---|---|
| private int appendHexDumpField(StringBuilder buf, int i, int length) | |
| asLongText | back to summary |
|---|---|
| public String asLongText() Implements io. Doc from io. Returns the long yet globally unique string representation of the
| |
| asShortText | back to summary |
|---|---|
| public String asShortText() Implements io. Doc from io. Returns the short but globally non-unique string representation of the
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(final ChannelId o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| defaultProcessId | back to summary |
|---|---|
| pack-priv static int defaultProcessId() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| jmxPid | back to summary |
|---|---|
| pack-priv static int jmxPid(ClassLoader loader) | |
| newInstance | back to summary |
|---|---|
| public static DefaultChannelId newInstance() Returns a new | |
| newLongValue | back to summary |
|---|---|
| private String newLongValue() | |
| processHandlePid | back to summary |
|---|---|
| pack-priv static int processHandlePid(ClassLoader loader) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| writeInt | back to summary |
|---|---|
| private int writeInt(int i, int value) | |
| writeLong | back to summary |
|---|---|
| private int writeLong(int i, long value) | |