public class FixedUidGenerator extends java.lang.Object implements UidGenerator
Uid properties in a similar fashion to that recommended in section 4.8.4.7 of the specification.| Constructor and Description |
|---|
FixedUidGenerator(HostInfo hostInfo,
java.lang.String pid) |
FixedUidGenerator(java.lang.String pid) |
| Modifier and Type | Method and Description |
|---|---|
Uid |
generateUid() |
public FixedUidGenerator(java.lang.String pid)
throws java.net.SocketException
pid - a unique process identifier for the host machinejava.net.SocketException - where host information cannot be retrievedpublic FixedUidGenerator(HostInfo hostInfo, java.lang.String pid)
hostInfo - custom host informationpid - a unique process identifier for the host machinepublic Uid generateUid()
generateUid in interface UidGenerator