Uid properties in a similar fashion to that recommended in section 4.8.4.7 of the specification.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private static long | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FixedUidGenerator(HostInfo
custom host information hostInfo, String a unique process identifier for the host machine pid)
|
| Modifier and Type | Method and Description |
|---|---|
| public Uid | |
| private static TemporalAdapter | Returns: aTemporalAdapter<Instant> instance representing a unique timestampGenerates a timestamp guaranteed to be unique for the current JVM instance. |
| hostName | back to summary |
|---|---|
| private final String hostName | |
| lastMillis | back to summary |
|---|---|
| private static long lastMillis | |
| pid | back to summary |
|---|---|
| private final String pid | |
| FixedUidGenerator | back to summary |
|---|---|
public FixedUidGenerator(String pid) throws SocketException
| |
| FixedUidGenerator | back to summary |
|---|---|
| public FixedUidGenerator(HostInfo hostInfo, String pid) | |
| generateUid | back to summary |
|---|---|
| public Uid generateUid() Implements net.
| |
| uniqueTimestamp | back to summary |
|---|---|
| private static TemporalAdapter Generates a timestamp guaranteed to be unique for the current JVM instance.
| |