Package org.opends.server.replication.server.changelog.api
This package contains the API for the changelog database. The changelog contains:
- a changelog of all the changes that happened on each server in the replication domain / suffix,
- a changelog as defined by draft-good-ldap-changelog,
- a state database containing specific information about each replica id in the suffix, and in particular the generationId for each server.
-
Interface Summary Interface Description ChangelogDB This interface is the entry point for the changelog database which stores the replication data on persistent storage.ChangelogStateProvider Small interface for common Replication Environment operations.ChangeNumberIndexDB This class stores an index of all the changes seen by this server in the form ofChangeNumberIndexRecord
s.DBCursor<T> Generic cursor interface into the changelog database.ReplicationDomainDB This interface allows to query or control the replication domain database(s) (composed of one or more ReplicaDBs) and query/update each ReplicaDB. -
Class Summary Class Description ChangeNumberIndexRecord The Change Number Index Record class represents records stored in theChangeNumberIndexDB
.DBCursor.CursorOptions Options to create a cursor.DomainReplicaId Identifier comprised of the domain baseDN and its replicaId within this domain.RemovedReplicasStates Contains CSNs identifying the last state for all replicas removed from the changelog for a domain.UpdateRecord Represents an update message with the base DN of the replication domain it belongs to, with support for easy retrieval of the CSN and the replica ID corresponding to the message. -
Enum Summary Enum Description DBCursor.PositionStrategy Represents a cursor key positioning strategy. -
Exception Summary Exception Description AbortedChangelogCursorException This exception is thrown when a cursor that has been aborted is used.ChangelogException This class define an Exception that must be used when some error condition was detected in the changelog database that cannot be recovered automatically.PurgedReplicaDbException This exception is thrown when a replica DB is fully purged by deleting all log files, invalidating all open cursors on them. -
Annotation Types Summary Annotation Type Description DomainReplicaId.MigrateToDomainReplicaId Marker annotation during the migration.