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 ReplicaId
ReplicaId. allReplicas()
Returns the special id corresponding to "all replicas".static ReplicaId
ReplicaId. fromNumericId(int numericId)
Generates a newReplicaId
from the provided integer value.static ReplicaId
ReplicaId. fromReplicaName(String name)
Generates a newReplicaId
from the provided string value.ReplicaId
CSN. getReplicaId()
Getter for the replica ID.ReplicaId
DSInfo. getReplicaId()
Get the replica id.static ReplicaId
ReplicaId. 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 void
Topology. addLocalReplicationDomain(ReplicaId replicaId, Dn baseDn)
Adds a replication domain to the local server in the topology.int
ReplicaId. compareTo(ReplicaId o)
CSN
MultiDomainServerState. getCSN(Dn baseDN, ReplicaId replicaId)
Returns the CSN associated to the provided replication domain's baseDN and replicaId.CSN
ServerState. getCSN(ReplicaId replicaId)
Returns theCSN
contained in this server state which corresponds to the provided replica ID.boolean
CSN. isOldestCsn(ReplicaId replicaId)
Returns if this is the oldest possible CSN for a replica.static CSNGenerator
CSNGenerator. newCSNGenerator(ReplicaId replicaId, long timestamp)
Create a newCSNGenerator
.static CSNGenerator
CSNGenerator. newCSNGenerator(ReplicaId replicaId, ServerState state)
Create a newCSNGenerator
.static CSN
CSN. newestCsn(ReplicaId replicaId)
Returns the newest possible CSN for a replica.static CSN
CSN. oldestCsn(ReplicaId replicaId)
Returns the oldest possible CSN for a replica.void
Topology. removeLocalReplicationDomain(ReplicaId replicaId, Dn baseDn)
Removes a replication domain from the local server in the topology.DSInfo
Topology. toDSInfoOrNull(ReplicaId replicaId)
Returns the information available from the topology for this replica ID as aDSInfo
object.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 ReplicaId
LDAPReplicationDomain. 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 void
LDAPReplicationDomain. 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 ReplicaId
InitializationMsg. destination
The destination server or servers of this message.Methods in org.opends.server.replication.protocol that return ReplicaId Modifier and Type Method Description ReplicaId
InitializationMsg. getDestination()
Get the destination.ReplicaId
InitializeTargetMsg. getInitiatorID()
Get the replica id of the server that initiated the export.ReplicaId
ServerStartMsg. getReplicaId()
Get the replica ID from the message.ReplicaId
DoneMsg. getSenderID()
ReplicaId
EntryMsg. getSenderID()
ReplicaId
InitializeRcvAckMsg. getSenderID()
ReplicaId
InitializeRequestMsg. getSenderID()
ReplicaId
InitializeTargetMsg. getSenderID()
ReplicaId
ByteArrayScanner. nextReplicaId()
Reads the next replica id.Methods in org.opends.server.replication.protocol with parameters of type ReplicaId Modifier and Type Method Description ByteArrayBuilder
ByteArrayBuilder. appendReplicaId(ReplicaId replicaId)
Appends the encoded version of thisReplicaId
to 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 boolean
ReplicationServerDomain. 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 ReplicaId
DomainReplicaId. getReplicaId()
Returns the replicaId.ReplicaId
UpdateRecord. 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 CSN
RemovedReplicasStates. getLastMessageCsn(ReplicaId replica)
Returns the CSN for the last LDAP message from the provided replica.CSN
RemovedReplicasStates. getLastUpdateCsn(ReplicaId replica)
Returns the CSN for the lastLDAPUpdateMsg
from the provided replica.static DomainReplicaId
DomainReplicaId. of(Dn baseDN, ReplicaId replicaId)
Creates a ReplicaId with the provided parameters.void
RemovedReplicasStates. 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 ReplicaId
ReplicationDomain. decodeTarget(String targetString)
Verifies that the given string represents a valid source from which this server can be initialized.ReplicaId
ReplicationDomain.ImportExportContext. getImportSource()
Gets the server id of the importing server.ReplicaId
ReplicationBroker. getReplicaId()
Gets the replica id.ReplicaId
ReplicationDomain. 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 void
ReplicationDomain. initializeFromRemote(ReplicaId source, Task initTask)
Initializes asynchronously this domain from a remote source server.void
ReplicationDomain. initializeRemote(ReplicaId target, Task initTask)
Initializes a remote server from this server.protected void
ReplicationDomain. 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.boolean
ReplicationDomain. setEclIncludes(ReplicaId replicaId, Set<String> includeAttributes, Set<String> includeAttributesForDeletes)
Set the attributes configured on a server to be included in the ECL.
-