Class LightweightIdentifier

  • All Implemented Interfaces:

    public class LightweightIdentifier
    extends Object
    implements Serializable
    Lightweight identifier is a "reasonable unique" identifier that is very cheap to create. While objects have OID, creating a unique OID means communication with the repository. This quite expensive and therefore it is unsuitable for more purposes, such as creating identifiers for tasks or audit records. Lightweight identifiers are used instead. See
    See Also:
    Serialized Form
    • Constructor Detail

      • LightweightIdentifier

        public LightweightIdentifier​(long timestamp,
                                     int hostIdentifier,
                                     int sequenceNumber)
    • Method Detail

      • getTimestamp

        public long getTimestamp()
      • getHostIdentifier

        public int getHostIdentifier()
      • getSequenceNumber

        public int getSequenceNumber()
      • hashCode

        public int hashCode()
        hashCode in class Object