Interface OperationContext
- All Known Implementing Classes:
OperationContext.AddContext
,OperationContext.DeleteContext
,OperationContext.ModifyContext
,OperationContext.ModifyDnContext
public sealed interface OperationContext
permits OperationContext.AddContext, OperationContext.DeleteContext, OperationContext.ModifyContext, OperationContext.ModifyDnContext
This class describe the replication context that is attached to each Operation using the SYNCHROCONTEXT key.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
Replication context that is attached to Add Operation.static final record
Replication context attached to a Delete Operation.static final record
Replication context attached to a Modify Operation.static final record
Replication context that is attached to ModifyDN operation. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The identifier used to attach the context to operations. -
Method Summary
-
Field Details
-
SYNCHROCONTEXT
The identifier used to attach the context to operations.- See Also:
-
-
Method Details
-
csn
CSN csn()Gets the CSN of the Operation.- Returns:
- The CSN of the Operation.
-
entryUuid
UUID entryUuid()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.
-