Modifier | Constructor and Description |
---|---|
protected |
InternalLogId(String tag,
long id) |
Modifier and Type | Method and Description |
---|---|
static InternalLogId |
allocate(String tag) |
long |
getId() |
String |
getTag() |
String |
toString() |
protected InternalLogId(String tag, long id)
public static InternalLogId allocate(String tag)
tag
- a loggable tag associated with this tag. The ID that is allocated is guaranteed
to be unique and increasing, irrespective of the tag.public long getId()
public String getTag()
Copyright © 2018. All rights reserved.