An object that has an ID that is unique within the JVM, primarily for debug logging.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final long | |
| private static final AtomicLong | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static InternalLogId | allocate(Class<?>
the "Type" to be used when logging this id. The short name of this class will be
used, or else a default if the class is anonymous. type, String a short, human readable string that describes the object the id is attached to.
Typically this will be an address or target. details)Creates a log id. |
| public static InternalLogId | |
| private static String | |
| public String | |
| public long | |
| pack-priv static long | |
| public String | |
| public String | |
| public String |
| details | back to summary |
|---|---|
| private final String details
| |
| id | back to summary |
|---|---|
| private final long id | |
| idAlloc | back to summary |
|---|---|
| private static final AtomicLong idAlloc | |
| typeName | back to summary |
|---|---|
| private final String typeName | |
| InternalLogId | back to summary |
|---|---|
| pack-priv InternalLogId(String typeName, String details, long id) | |
| allocate | back to summary |
|---|---|
| public static InternalLogId allocate(Class<?> type, String details) Creates a log id. | |
| allocate | back to summary |
|---|---|
| public static InternalLogId allocate(String typeName, String details) Creates a log id. | |
| getClassName | back to summary |
|---|---|
| private static String getClassName(Class<?> type) | |
| getDetails | back to summary |
|---|---|
public String getDetails()
| |
| getId | back to summary |
|---|---|
| public long getId() | |
| getNextId | back to summary |
|---|---|
| pack-priv static long getNextId() | |
| getTypeName | back to summary |
|---|---|
| public String getTypeName() | |
| shortName | back to summary |
|---|---|
| public String shortName() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |