Uses of Class
org.opends.server.replication.common.ServerState
-
Packages that use ServerState Package Description org.opends.server.replication.common This package contains utilities that can are used by all the packages below org.opends.server.replication.org.opends.server.replication.plugin This package contains the part of the Multi-master replication code that works on the Directory Server side.org.opends.server.replication.protocol This package contains the code used by the replication server and by the code running on the Directory Server side to exchange their information.org.opends.server.replication.server This package contains the code for the Replication Server part of the Multimaster replication feature.org.opends.server.replication.server.changelog.api This package contains the API for the changelog database.org.opends.server.replication.server.changelog.file This package contains a file-based log implementation for the changelog database API.org.opends.server.replication.service This package contains the generic of the Multi-Master replication code that works on the Directory Server side. -
-
Uses of ServerState in org.opends.server.replication.common
Methods in org.opends.server.replication.common that return ServerState Modifier and Type Method Description ServerStateServerState. duplicate()Make a duplicate of this state.ServerStateMultiDomainServerState. getServerState(DN baseDN)Returns the ServerState associated to the provided replication domain's baseDN.Methods in org.opends.server.replication.common with parameters of type ServerState Modifier and Type Method Description voidCSNGenerator. adjust(ServerState state)Adjust utility method that takes ServerState as a parameter.booleanServerState. cover(ServerState covered)Check that all the CSNs in the covered serverState are also in this serverState.static intServerState. diffChanges(ServerState ss1, ServerState ss2)Computes the number of changes a first server state has in advance compared to a second server state.voidMultiDomainServerState. replace(DN baseDN, ServerState serverState)Replace the ServerState of the provided baseDN with the provided server state.voidMultiDomainServerState. update(DN baseDN, ServerState serverState)Update the ServerState of the provided baseDN with the provided server state.booleanServerState. update(ServerState serverState)Update the Server State with a Server State.Constructors in org.opends.server.replication.common with parameters of type ServerState Constructor Description CSNGenerator(int serverId, ServerState state)Create a newCSNGenerator. -
Uses of ServerState in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin with parameters of type ServerState Modifier and Type Method Description voidLDAPReplicationDomain. sessionInitiated(ServerStatus initStatus, ServerState rsState) -
Uses of ServerState in org.opends.server.replication.protocol
Methods in org.opends.server.replication.protocol that return ServerState Modifier and Type Method Description ServerStateMonitorMsg. getLDAPServerState(int serverId)Get the server state for the LDAP server with the provided serverId.ServerStateMonitorMsg. getReplServerDbState()Get the state of the replication server that sent this message.ServerStateMonitorMsg. getRSServerState(int serverId)Get the server state for the RS server with the provided serverId.ServerStateReplServerStartDSMsg. getServerState()Get the serverState.ServerStateReplServerStartMsg. getServerState()Get the serverState.ServerStateServerStartMsg. getServerState()Get the ServerState.ServerStateByteArrayScanner. nextServerStateMustComeLast()Reads the next ServerState.Methods in org.opends.server.replication.protocol with parameters of type ServerState Modifier and Type Method Description ByteArrayBuilderByteArrayBuilder. appendServerStateMustComeLast(ServerState serverState)Append the byte representation of a ServerState to this ByteArrayBuilder and then append a final zero byte separator.voidMonitorMsg. setReplServerDbState(ServerState state)Sets the state of the replication server.voidMonitorMsg. setServerState(int serverId, ServerState state, long approxFirstMissingDate, boolean isLDAPServer)Sets the information of an LDAP server.Constructors in org.opends.server.replication.protocol with parameters of type ServerState Constructor Description ReplServerStartDSMsg(int serverId, String serverURL, DN baseDN, int windowSize, ServerState serverState, long generationId, boolean sslEncryption, byte groupId, int degradedStatusThreshold, int weight, int connectedDSNumber)Create a ReplServerStartDSMsg.ReplServerStartMsg(int serverId, String serverURL, DN baseDN, int windowSize, ServerState serverState, long generationId, boolean sslEncryption, byte groupId, int degradedStatusThreshold)Create a ReplServerStartMsg.ServerStartMsg(int serverId2, String serverURL, DN baseDN, int windowSize, long heartbeatInterval, ServerState serverState, long generationId, boolean sslEncryption, byte groupId)Creates a new ServerStartMsg. -
Uses of ServerState in org.opends.server.replication.server
Methods in org.opends.server.replication.server that return ServerState Modifier and Type Method Description ServerStateReplicationServerDomain. getLatestServerState()Returns the latest most current ServerState describing the newest CSNs for each server in this domain.ServerStateReplicationServerDomain. getOldestState()Returns the oldest known state for the domain, made of the oldest CSN stored for each serverId.Methods in org.opends.server.replication.server with parameters of type ServerState Modifier and Type Method Description DBCursor<UpdateMsg>ReplicationServerDomain. getCursorFrom(ServerState startAfterServerState)Creates and returns a cursor across this replication domain. -
Uses of ServerState in org.opends.server.replication.server.changelog.api
Methods in org.opends.server.replication.server.changelog.api that return ServerState Modifier and Type Method Description ServerStateReplicationDomainDB. getDomainNewestCSNs(DN baseDN)Returns the newestCSNs from the replicaDBs for each serverId in the specified replication domain.ServerStateReplicationDomainDB. getDomainOldestCSNs(DN baseDN)Returns the oldestCSNs from the replicaDBs for each serverId in the specified replication domain.Methods in org.opends.server.replication.server.changelog.api with parameters of type ServerState Modifier and Type Method Description DBCursor<UpdateMsg>ReplicationDomainDB. getCursorFrom(DN baseDN, ServerState startState, DBCursor.CursorOptions options)Generates aDBCursoracross all the replicaDBs for the specified replication domain starting before, at or after the providedServerStatefor each replicaDB, depending on the provided matching and positioning strategies. -
Uses of ServerState in org.opends.server.replication.server.changelog.file
Methods in org.opends.server.replication.server.changelog.file that return ServerState Modifier and Type Method Description ServerStateFileChangelogDB. getDomainNewestCSNs(DN baseDN)ServerStateFileChangelogDB. getDomainOldestCSNs(DN baseDN)Methods in org.opends.server.replication.server.changelog.file with parameters of type ServerState Modifier and Type Method Description voidMultiDomainDBCursor. addDomain(DN baseDN, ServerState startAfterState)Adds a replication domain for this cursor to iterate over.DBCursor<UpdateMsg>FileChangelogDB. getCursorFrom(DN baseDN, ServerState startState, DBCursor.CursorOptions options) -
Uses of ServerState in org.opends.server.replication.service
Methods in org.opends.server.replication.service that return ServerState Modifier and Type Method Description ServerStateReplicationDomain. getServerState()Get the ServerState maintained by the Concrete class.Methods in org.opends.server.replication.service that return types with arguments of type ServerState Modifier and Type Method Description Map<Integer,ServerState>ReplicationBroker. getReplicaStates()Gets the States of all the Replicas currently in the Topology.Map<Integer,ServerState>ReplicationDomain. getReplicaStates()Gets the States of all the Replicas currently in the Topology.Methods in org.opends.server.replication.service with parameters of type ServerState Modifier and Type Method Description voidReplicationDomain. sessionInitiated(ServerStatus initStatus, ServerState rsState)Set the initial status of the domain and perform necessary initializations.Constructors in org.opends.server.replication.service with parameters of type ServerState Constructor Description ReplicationBroker(ReplicationDomain replicationDomain, ServerState state, ReplicationDomainCfg config, ReplSessionSecurity replSessionSecurity)Creates a new ReplicationServer Broker for a particular ReplicationDomain.ReplicationDomain(ReplicationDomainCfg config, long generationId, ServerState serverState)Creates a ReplicationDomain with the provided parameters.
-