Uses of Class
org.forgerock.opendj.server.leaderbasedreplication.ReplicaState
Packages that use ReplicaState
Package
Description
This package contains the main class of the leader based replication.
This package contains a file-based log implementation for the changelog database API.
-
Uses of ReplicaState in org.forgerock.opendj.server.leaderbasedreplication
Fields in org.forgerock.opendj.server.leaderbasedreplication declared as ReplicaStateModifier and TypeFieldDescriptionprotected ReplicaStateReplicatedDomain.dataStateThe domain data state.Methods in org.forgerock.opendj.server.leaderbasedreplication that return ReplicaStateModifier and TypeMethodDescriptionRegistrationToCoreExtendedRequest.changelogState()Returns the value of thechangelogStaterecord component.ReplicaClient.RegistrationToCoreRequest.changelogState()Returns the value of thechangelogStaterecord component.RegistrationToCoreExtendedRequest.dataState()Returns the value of thedataStaterecord component.ReplicaClient.RegistrationToCoreRequest.dataState()Returns the value of thedataStaterecord component.static ReplicaStateReturns aReplicaStatefrom the provided JSON representation.ReplicatedDomain.getReplicaState()Returns the data state of this replica for this domain.FetchChangelogUpdatesControl.getReplicaStateOrEmpty(Domain domain) Returns the replica state of the given domain.Methods in org.forgerock.opendj.server.leaderbasedreplication that return types with arguments of type ReplicaStateModifier and TypeMethodDescriptionReplicaChangelog.getChangelogState()Returns the changelog state.ReplicaChangelogImpl.getChangelogState()Methods in org.forgerock.opendj.server.leaderbasedreplication with parameters of type ReplicaStateModifier and TypeMethodDescriptionvoidReplicaChangelog.fetchChangelogChanges(Dn domain, ReplicaState fromStartingPoint, SearchResultHandler handler) Fetches changelog changes for the specified domain starting from the given replica state.voidReplicaChangelogImpl.fetchChangelogChanges(Dn domain, ReplicaState fromStartingPoint, SearchResultHandler handler) voidReplicaState.putIfMoreRecent(ReplicaState another) Updates the current state with all the StreamIds from the provided state.voidReplicaState.retainOldestCsns(ReplicaState other) Update this ServerState with the oldest CSN for each replica versus the provided ServerState.static voidReplicaChangelogBackend.searchChangelog(ReplicationDomainDB replicationDomainDb, Dn domain, ReplicaState startingFromState, SearchResultHandler searchResultHandler) Search method intended only for tests.Method parameters in org.forgerock.opendj.server.leaderbasedreplication with type arguments of type ReplicaStateModifier and TypeMethodDescriptionReplicaClient.fetchChangesFromReplica(ReplicaId localReplicaId, Connection replicaConnection, Map<Domain, ReplicaState> changelogState, SearchResultHandler searchResultHandler, String logContext) Fetches changes from a remote replica.ReplicaClient.fetchChangesFromReplica(ReplicaId localReplicaId, ReplicaId peerReplicaId, com.forgerock.opendj.util.HostPort peerHostPort, Map<Domain, ReplicaState> changelogState, SearchResultHandler searchResultHandler, String logContext) Fetches changes from a remote replica.Constructors in org.forgerock.opendj.server.leaderbasedreplication with parameters of type ReplicaStateModifierConstructorDescriptionRegistrationToCoreExtendedRequest(Topology.ReplicaCoordinate replicaCoordinate, Domain domain, ReplicaState dataState, ReplicaState changelogState, Csn csnNow, List<Control> controls) Create a newRegistrationToCoreExtendedRequest.RegistrationToCoreRequest(Topology.ReplicaCoordinate replicaCoordinate, Domain domain, ReplicaState dataState, ReplicaState changelogState, Csn csnNow) Creates an instance of aRegistrationToCoreRequestrecord class.ReplicaState(ReplicaState state) Creates a newReplicaStatewith the provided state.Constructor parameters in org.forgerock.opendj.server.leaderbasedreplication with type arguments of type ReplicaStateModifierConstructorDescriptionFetchChangelogUpdatesControl(boolean isCritical, ReplicaId replicaId, Map<Domain, ReplicaState> replicaStateByDomain) Creates a new instance of ReplicationRequestControl. -
Uses of ReplicaState in org.opends.server.replication.server.changelog.file
Methods in org.opends.server.replication.server.changelog.file that return types with arguments of type ReplicaStateModifier and TypeMethodDescriptionFileChangelogDB.getChangelogLogState()Returns the changelog state for each domain.