Package com.evolveum.midpoint.task.api
Class LightweightIdentifier
- java.lang.Object
-
- com.evolveum.midpoint.task.api.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 Summary
Constructors Constructor Description LightweightIdentifier(long timestamp, int hostIdentifier, int sequenceNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getHostIdentifier()
int
getSequenceNumber()
long
getTimestamp()
int
hashCode()
String
toString()
-