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.service |
This package contains the generic of the Multi-Master
replication code that works on the Directory Server side.
|
Modifier and Type | Method and Description |
---|---|
static ServerStatus |
StatusMachine.computeNewStatus(ServerStatus curStatus,
StatusMachineEvent event)
Computes the new status of the state machine according to the current
status and the new generated event.
|
ServerStatus |
DSInfo.getStatus()
Get the DS status.
|
static ServerStatus |
ServerStatus.valueOf(byte value)
Returns the ServerStatus matching the passed status numeric representation.
|
static ServerStatus |
ServerStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerStatus[] |
ServerStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ServerStatus |
StatusMachine.computeNewStatus(ServerStatus curStatus,
StatusMachineEvent event)
Computes the new status of the state machine according to the current
status and the new generated event.
|
static boolean |
StatusMachine.isValidInitialStatus(ServerStatus initStatus)
Checks if a given status is valid as an entering status for the state
machine.
|
static StatusMachineEvent |
StatusMachineEvent.statusToEvent(ServerStatus reqStatus)
Returns the event matching the passed requested status.
|
Constructor and Description |
---|
DSInfo(int dsId,
String dsUrl,
int rsId,
long generationId,
ServerStatus status,
boolean assuredFlag,
AssuredMode assuredMode,
byte safeDataLevel,
byte groupId,
Collection<String> refUrls,
Collection<String> eclIncludes,
Collection<String> eclIncludesForDeletes,
short protocolVersion)
Creates a new instance of DSInfo with every given info.
|
Modifier and Type | Method and Description |
---|---|
void |
LDAPReplicationDomain.sessionInitiated(ServerStatus initStatus,
ServerState rsState) |
Modifier and Type | Method and Description |
---|---|
ServerStatus |
ChangeStatusMsg.getNewStatus()
Get the requested status.
|
ServerStatus |
ChangeStatusMsg.getRequestedStatus()
Get the requested status.
|
ServerStatus |
StartSessionMsg.getStatus()
Get the status from this message.
|
Constructor and Description |
---|
ChangeStatusMsg(ServerStatus requestedStatus,
ServerStatus newStatus)
Create a new ChangeStatusMsg.
|
StartSessionMsg(ServerStatus status,
Collection<String> referralsURLs,
boolean assuredFlag,
AssuredMode assuredMode,
byte safeDataLevel)
Creates a new message with the given required parameters.
|
Modifier and Type | Method and Description |
---|---|
ServerStatus |
DataServerHandler.changeStatus(StatusMachineEvent event)
Change the status according to the event.
|
ServerStatus |
ReplicationServerHandler.getStatus()
Gets the status of the connected DS.
|
protected abstract ServerStatus |
ServerHandler.getStatus()
Return the ServerStatus.
|
ServerStatus |
DataServerHandler.getStatus()
Gets the status of the connected DS.
|
ServerStatus |
DataServerHandler.processNewStatus(ChangeStatusMsg csMsg)
Process message of a remote server changing his status.
|
Modifier and Type | Method and Description |
---|---|
ServerStatus |
ReplicationDomain.getStatus()
Gets the status for this domain.
|
Modifier and Type | Method and Description |
---|---|
void |
ReplicationDomain.sessionInitiated(ServerStatus initStatus,
ServerState rsState)
Set the initial status of the domain and perform necessary initializations.
|
void |
ReplicationBroker.signalStatusChange(ServerStatus newStatus)
Signals the RS we just entered a new status.
|
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.