Class LightweightIdentifier

  • All Implemented Interfaces:
    Serializable

    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 https://wiki.evolveum.com/display/midPoint/Lightweight+Identifier
    Author:
    semancik
    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()
        Overrides:
        hashCode in class Object