Uses of Class
org.opends.server.replication.common.GenerationId
-
Packages that use GenerationId 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.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.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 GenerationId in org.opends.server.replication.common
Fields in org.opends.server.replication.common declared as GenerationId Modifier and Type Field Description static GenerationId
GenerationId. DUMMY_GENERATION_ID
TO be used for unit testing.static GenerationId
GenerationId. EMPTY_BACKEND_GENERATION_ID
This is the generation id for an empty backend.static GenerationId
GenerationId. NO_GENERATION_ID
To be used when the generation id is not set.Methods in org.opends.server.replication.common that return GenerationId Modifier and Type Method Description GenerationId
DSInfo. getGenerationId()
Get the generation id DS is using.GenerationId
RSInfo. getGenerationId()
Get the generation id RS is using.static GenerationId
GenerationId. valueOf(long generationId)
Returns a generation id object having the provided value.static GenerationId
GenerationId. valueOf(ByteString generationId)
Returns a generation id object having the provided value encoded as a ByteString.Methods in org.opends.server.replication.common with parameters of type GenerationId Modifier and Type Method Description boolean
GenerationId. isDifferent(GenerationId other)
Whether this generation id is different to the provided one (and both are valid).boolean
GenerationId. isEqualToOrNoGenerationId(GenerationId other)
Whether this generation id isNO_GENERATION_ID
) or equal to the provided one.boolean
GenerationId. isSame(GenerationId other)
Whether this generation id is the same as the provided one (and none areNO_GENERATION_ID
).Constructors in org.opends.server.replication.common with parameters of type GenerationId Constructor Description 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.RSInfo(ReplicationServerId rsId, com.forgerock.opendj.util.HostPort changelogEndpoint, GenerationId generationId, com.forgerock.opendj.discovery.GroupId groupId, ProcessId processId, int weight, Set<com.forgerock.opendj.util.HostPort> adminEndpoints)
Creates a new instance of RSInfo with every given info. -
Uses of GenerationId in org.opends.server.replication.protocol
Fields in org.opends.server.replication.protocol declared as GenerationId Modifier and Type Field Description protected GenerationId
StartMsg. generationId
Generation id of data set we want to work with.Methods in org.opends.server.replication.protocol that return GenerationId Modifier and Type Method Description GenerationId
ResetGenerationIdMsg. getGenerationId()
Returns the generation Id set in this message.GenerationId
StartMsg. getGenerationId()
Get the generationId from this message.Constructors in org.opends.server.replication.protocol with parameters of type GenerationId Constructor Description ReplServerStartDSMsg(ReplicationServerId rsId, com.forgerock.opendj.util.HostPort changelogEndpoint, Dn baseDN, ServerState serverState, GenerationId generationId, boolean sslEncryption, com.forgerock.opendj.discovery.GroupId groupId, int weight, int connectedDSNumber)
Create a ReplServerStartDSMsg.ReplServerStartMsg(ReplicationServerId rsId, com.forgerock.opendj.util.HostPort changelogEndpoint, Dn baseDN, ServerState serverState, GenerationId generationId, boolean sslEncryption, com.forgerock.opendj.discovery.GroupId groupId)
Create a ReplServerStartMsg.ResetGenerationIdMsg(GenerationId generationId)
Creates a new message.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 GenerationId in org.opends.server.replication.server
Methods in org.opends.server.replication.server that return GenerationId Modifier and Type Method Description GenerationId
ReplicationServerDomain. changeGenerationId(GenerationId generationId)
Sets the provided value as the new in memory generationId.GenerationId
ReplicationServerDomain. getGenerationId()
Get the generationId associated to this domain.Methods in org.opends.server.replication.server that return types with arguments of type GenerationId Modifier and Type Method Description Map<Dn,GenerationId>
ChangelogState. getDomainToGenerationId()
Returns the Map of domainBaseDN to generationId.Methods in org.opends.server.replication.server with parameters of type GenerationId Modifier and Type Method Description GenerationId
ReplicationServerDomain. changeGenerationId(GenerationId generationId)
Sets the provided value as the new in memory generationId.void
ReplicationServerDomain. initGenerationID(GenerationId generationId)
Initialize the value of the generationID for this ReplicationServerDomain.ChangelogState
ChangelogState. setDomainGenerationId(Dn baseDn, GenerationId generationId)
Returns a new changelog state with the generationId associated to the supplied replication domain.Method parameters in org.opends.server.replication.server with type arguments of type GenerationId Modifier and Type Method Description static ChangelogState
ChangelogState. newChangelogState(Map<Dn,GenerationId> domainToGenerationId, Set<DomainReplicaId> replicas, Set<DomainReplicaId> replicasNotProperlyStopped)
Builds a changelog state. -
Uses of GenerationId in org.opends.server.replication.server.changelog.file
Methods in org.opends.server.replication.server.changelog.file with parameters of type GenerationId Modifier and Type Method Description void
ReplicationEnvironment. clearDomainStateAndWriteGenId(Dn domainDn, GenerationId generationId)
Clears the domain state of the provided domain DN, and rewrite its generation id file with the provided generation id. -
Uses of GenerationId in org.opends.server.replication.service
Fields in org.opends.server.replication.service declared as GenerationId Modifier and Type Field Description protected GenerationId
ReplicationDomain. generationId
The generationId for this replication domain.Methods in org.opends.server.replication.service that return GenerationId Modifier and Type Method Description GenerationId
ReplicationDomain. getGenerationID()
This method should return the generationID to use for this ReplicationDomain.Methods in org.opends.server.replication.service with parameters of type GenerationId Modifier and Type Method Description void
ReplicationDomain. resetGenerationId(GenerationId generationIdNewValue)
Reset the generationId of this domain in the whole topology.void
ReplicationBroker. setGenerationID(GenerationId generationID)
Set the generation id - for test purpose.Constructors in org.opends.server.replication.service with parameters of type GenerationId Constructor Description ReplicationDomain(ServerContext serverContext, ReplicationDomainCfg config, GenerationId generationId)
Creates a ReplicationDomain with the provided parameters.
-