Uses of Class
org.opends.server.replication.common.ReplicaId
-
Packages that use ReplicaId 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.service This package contains the generic of the Multi-Master replication code that works on the Directory Server side. -
-
Uses of ReplicaId in org.opends.server.replication.common
Methods in org.opends.server.replication.common that return ReplicaId Modifier and Type Method Description static ReplicaIdReplicaId. allReplicas()Returns the special id corresponding to "all replicas".static ReplicaIdReplicaId. fromNumericId(int numericId)Generates a newReplicaIdfrom the provided integer value.static ReplicaIdReplicaId. fromReplicaName(String name)Generates a newReplicaIdfrom the provided string value.ReplicaIdCSN. getReplicaId()Getter for the replica ID.ReplicaIdDSInfo. getReplicaId()Get the replica id.static ReplicaIdReplicaId. nullReplicaId()Returns the special id corresponding to the null replica id.Methods in org.opends.server.replication.common that return types with arguments of type ReplicaId Modifier and Type Method Description Map<ReplicaId,CSN>ServerState. getReplicaIdToCSNMap()Returns a copy of this ServerState's content as a Map of replicaId to CSN.Methods in org.opends.server.replication.common with parameters of type ReplicaId Modifier and Type Method Description voidTopology. addLocalReplicationDomain(ReplicaId replicaId, Dn baseDn)Adds a replication domain to the local server in the topology.intReplicaId. compareTo(ReplicaId o)CSNMultiDomainServerState. getCSN(Dn baseDN, ReplicaId replicaId)Returns the CSN associated to the provided replication domain's baseDN and replicaId.CSNServerState. getCSN(ReplicaId replicaId)Returns theCSNcontained in this server state which corresponds to the provided replica ID.booleanCSN. isOldestCsn(ReplicaId replicaId)Returns if this is the oldest possible CSN for a replica.static CSNGeneratorCSNGenerator. newCSNGenerator(ReplicaId replicaId, long timestamp)Create a newCSNGenerator.static CSNGeneratorCSNGenerator. newCSNGenerator(ReplicaId replicaId, ServerState state)Create a newCSNGenerator.static CSNCSN. newestCsn(ReplicaId replicaId)Returns the newest possible CSN for a replica.static CSNCSN. oldestCsn(ReplicaId replicaId)Returns the oldest possible CSN for a replica.voidTopology. removeLocalReplicationDomain(ReplicaId replicaId, Dn baseDn)Removes a replication domain from the local server in the topology.DSInfoTopology. toDSInfoOrNull(ReplicaId replicaId)Returns the information available from the topology for this replica ID as aDSInfoobject.Constructors in org.opends.server.replication.common with parameters of type ReplicaId Constructor Description CSN(long timeStamp, int seqNum, ReplicaId replicaId)Create a newCSN.DSInfo(ReplicaId replicaId, com.forgerock.opendj.util.HostPort adminEndpoint, ReplicationServerId rsId, GenerationId generationId, ServerStatus status, com.forgerock.opendj.discovery.GroupId groupId, ProcessId processId, Set<String> refUrls, Set<String> eclIncludes, Set<String> eclIncludesForDeletes, short protocolVersion, Set<com.forgerock.opendj.util.HostPort> adminEndpoints, Map<ConnectionSecurity,Set<com.forgerock.opendj.util.HostPort>> ldapEndpoints)Creates a new instance of DSInfo with every given info. -
Uses of ReplicaId in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin that return ReplicaId Modifier and Type Method Description ReplicaIdLDAPReplicationDomain. decodeSource(String sourceReplicaName)Verifies that the given string represents a valid source from which this server can be initialized.Methods in org.opends.server.replication.plugin with parameters of type ReplicaId Modifier and Type Method Description protected voidLDAPReplicationDomain. initializeRemote(ReplicaId target, ReplicaId requestorID, Task initTask, int initWindow)Process the initialization of some other server or servers in the topology specified by the target argument when this initialization specifying the server that requests the initialization. -
Uses of ReplicaId in org.opends.server.replication.protocol
Fields in org.opends.server.replication.protocol declared as ReplicaId Modifier and Type Field Description protected ReplicaIdInitializationMsg. destinationThe destination server or servers of this message.Methods in org.opends.server.replication.protocol that return ReplicaId Modifier and Type Method Description ReplicaIdInitializationMsg. getDestination()Get the destination.ReplicaIdInitializeTargetMsg. getInitiatorID()Get the replica id of the server that initiated the export.ReplicaIdServerStartMsg. getReplicaId()Get the replica ID from the message.ReplicaIdDoneMsg. getSenderID()ReplicaIdEntryMsg. getSenderID()ReplicaIdInitializeRcvAckMsg. getSenderID()ReplicaIdInitializeRequestMsg. getSenderID()ReplicaIdInitializeTargetMsg. getSenderID()ReplicaIdByteArrayScanner. nextReplicaId()Reads the next replica id.Methods in org.opends.server.replication.protocol with parameters of type ReplicaId Modifier and Type Method Description ByteArrayBuilderByteArrayBuilder. appendReplicaId(ReplicaId replicaId)Appends the encoded version of thisReplicaIdto this ByteArrayBuilder.Constructors in org.opends.server.replication.protocol with parameters of type ReplicaId Constructor Description DoneMsg(ReplicaId sender, ReplicaId destination)Creates a message.EntryMsg(ReplicaId sender, ReplicaId destination, byte[] entryBytes, int msgId)Creates a new EntryMsg.EntryMsg(ReplicaId sender, ReplicaId destination, byte[] entryBytes, int startPos, int length, int msgId)Creates a new EntryMsg.ErrorMsg(ServerId<?> sender, ReplicaId destination, LocalizableMessage details)Creates an ErrorMsg providing the destination server.InitializationMsg(ServerId<?> sender, ReplicaId destination)Creates an initialization message.InitializeRcvAckMsg(ReplicaId sender, ReplicaId destination, int numAck)Create a new message..InitializeRequestMsg(Dn baseDN, ReplicaId replicaId, ReplicaId destination, int initWindow)Creates a InitializeRequestMsg message.InitializeTargetMsg(Dn baseDN, ReplicaId replicaId, ReplicaId destination, ReplicaId requestorID, long entryCount, int initWindow)Creates a InitializeTargetMsg.ServerStartMsg(ReplicaId replicaId, com.forgerock.opendj.util.HostPort adminEndpoint, Dn baseDN, long heartbeatInterval, ServerState serverState, GenerationId generationId, boolean sslEncryption, com.forgerock.opendj.discovery.GroupId groupId)Creates a new ServerStartMsg. -
Uses of ReplicaId in org.opends.server.replication.server
Methods in org.opends.server.replication.server that return types with arguments of type ReplicaId Modifier and Type Method Description Map<ReplicaId,org.opends.server.replication.server.PeerReplica>ReplicationServerDomain. getConnectedDSs()Get the map of connected DSs.Methods in org.opends.server.replication.server with parameters of type ReplicaId Modifier and Type Method Description booleanReplicationServerDomain. hasDifferentGenerationIdThan(ReplicaId replicaId)Returns whether the provided replica has a different generationId than this replication domain. -
Uses of ReplicaId in org.opends.server.replication.server.changelog.api
Methods in org.opends.server.replication.server.changelog.api that return ReplicaId Modifier and Type Method Description ReplicaIdDomainReplicaId. getReplicaId()Returns the replicaId.ReplicaIdUpdateRecord. getReplicaId()Returns the replica ID of the replica the message belongs to.Methods in org.opends.server.replication.server.changelog.api with parameters of type ReplicaId Modifier and Type Method Description CSNRemovedReplicasStates. getLastMessageCsn(ReplicaId replica)Returns the CSN for the last LDAP message from the provided replica.CSNRemovedReplicasStates. getLastUpdateCsn(ReplicaId replica)Returns the CSN for the lastLDAPUpdateMsgfrom the provided replica.static DomainReplicaIdDomainReplicaId. of(Dn baseDN, ReplicaId replicaId)Creates a ReplicaId with the provided parameters.voidRemovedReplicasStates. replicaRejoined(ReplicaId replica)Removes the provided replica from the removed replica states, because it rejoined. -
Uses of ReplicaId in org.opends.server.replication.service
Methods in org.opends.server.replication.service that return ReplicaId Modifier and Type Method Description ReplicaIdReplicationDomain. decodeTarget(String targetString)Verifies that the given string represents a valid source from which this server can be initialized.ReplicaIdReplicationDomain.ImportExportContext. getImportSource()Gets the server id of the importing server.ReplicaIdReplicationBroker. getReplicaId()Gets the replica id.ReplicaIdReplicationDomain. getReplicaId()Get the replica ID which identifies this Replication Domain inside the Replication Service.Methods in org.opends.server.replication.service with parameters of type ReplicaId Modifier and Type Method Description voidReplicationDomain. initializeFromRemote(ReplicaId source, Task initTask)Initializes asynchronously this domain from a remote source server.voidReplicationDomain. initializeRemote(ReplicaId target, Task initTask)Initializes a remote server from this server.protected voidReplicationDomain. initializeRemote(ReplicaId replicaToInitialize, ReplicaId replicaRunningTheTask, Task initTask, int initWindow)Process the initialization of some other server or servers in the topology specified by the target argument when this initialization specifying the server that requests the initialization.booleanReplicationDomain. setEclIncludes(ReplicaId replicaId, Set<String> includeAttributes, Set<String> includeAttributesForDeletes)Set the attributes configured on a server to be included in the ECL.
-