A globally Unique object IDentifier generated by
the
org.cougaar.core.service.UIDService .
Although the details of this implementation are subject to change,
developers may want to know more about the design to aid
debugging: UIDs are currently implemented as an "AGENT/COUNTER"
pair, where the initial COUNTER is the JVM startTime.
Compare to
java.rmi.server.UID , which can block to prevent
the COUNTER from growing faster than one-per-millisecond. Also
note that it may be better to use a JVM-instance-specific OWNER
(e.g. IP_ADDR+JVM_PID) instead of the AGENT, in case duplicate
agents are created.
|