Class OperationContext
java.lang.Object
org.opends.server.replication.protocol.OperationContext
- Direct Known Subclasses:
 AddContext,DeleteContext,ModifyContext,ModifyDnContext
This class describe the replication context that is attached to each Operation using the SYNCHROCONTEXT key.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe identifier used to attach the context to operations. - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOperationContext(CSN csn, UUID entryUUID) Create a new OperationContext. - 
Method Summary
 
- 
Field Details
- 
SYNCHROCONTEXT
The identifier used to attach the context to operations.- See Also:
 
 
 - 
 - 
Constructor Details
- 
OperationContext
Create a new OperationContext.- Parameters:
 csn- The CSN of the operation.entryUUID- The unique Identifier of the modified entry.
 
 - 
 - 
Method Details
- 
getCSN
Gets the CSN of the Operation.- Returns:
 - The CSN of the Operation.
 
 - 
getEntryUUID
Get the unique Identifier of the modified entry.- Returns:
 - the unique Identifier of the modified entry.
 
 - 
getCSN
Get the CSN of an operation from the synchronization context attached to the provided operation.- Parameters:
 op- The operation.- Returns:
 - The CSN of the provided operation, or null if there is no CSN associated with the operation.
 
 - 
equals
 - 
hashCode
public int hashCode() 
 -