Uses of Record Class
org.opends.server.replication.common.GenerationId
Package
Description
This package contains utilities that can are used by all the packages below org.opends.server.replication.
This package contains the code used by the replication server and by the code running on the Directory Server side to
exchange their information.
This package contains the code for the Replication Server part of the Multimaster replication feature.
This package contains a file-based log implementation for the changelog database API.
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
Modifier and TypeFieldDescriptionstatic final GenerationId
GenerationId.DUMMY_GENERATION_ID
TO be used for unit testing.static final GenerationId
GenerationId.EMPTY_BACKEND_GENERATION_ID
This is the generation id for an empty backend.static final GenerationId
GenerationId.NO_GENERATION_ID
To be used when the generation id is not set.Modifier and TypeMethodDescriptionDSInfo.generationId()
Returns the value of thegenerationId
record component.RSInfo.generationId()
Returns the value of thegenerationId
record component.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.Modifier and TypeMethodDescriptionboolean
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
).ModifierConstructorDescriptionDSInfo
(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) Canonical constructor.RSInfo
(ReplicationServerId replicationServerId, 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) Canonical constructor. -
Uses of GenerationId in org.opends.server.replication.protocol
Modifier and TypeFieldDescriptionprotected GenerationId
StartMsg.generationId
Generation id of data set we want to work with.Modifier and TypeMethodDescriptionResetGenerationIdMsg.getGenerationId()
Returns the generation Id set in this message.StartMsg.getGenerationId()
Get the generationId from this message.ModifierConstructorDescriptionReplServerStartDSMsg
(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
Modifier and TypeMethodDescriptionReplicationServerDomain.changeGenerationId
(GenerationId generationId) Sets the provided value as the new in memory generationId.ReplicationServerDomain.getGenerationId()
Get the generationId associated to this domain.Modifier and TypeMethodDescriptionChangelogState.domainToGenerationId()
Returns the value of thedomainToGenerationId
record component.Modifier and TypeMethodDescriptionReplicationServerDomain.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.setDomainGenerationId
(Dn baseDn, GenerationId generationId) Returns a new changelog state with the generationId associated to the supplied replication domain.ModifierConstructorDescriptionChangelogState
(Map<Dn, GenerationId> domainToGenerationId, Set<DomainReplicaId> replicas, Set<DomainReplicaId> purgedReplicasNotProperlyStopped) Builds a changelog state. -
Uses of GenerationId in org.opends.server.replication.server.changelog.file
Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeFieldDescriptionprotected GenerationId
ReplicationDomain.generationId
The generationId for this replication domain.Modifier and TypeMethodDescriptionReplicationDomain.getGenerationID()
This method should return the generationID to use for this ReplicationDomain.Modifier and TypeMethodDescriptionvoid
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.ModifierConstructorDescriptionReplicationDomain
(ServerContext serverContext, ReplicationDomainCfg config, GenerationId generationId) Creates a ReplicationDomain with the provided parameters.