|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplicationServerCfg
A server-side interface for querying Replication Server settings.
Replication Servers publish updates to Directory Servers within a Replication Domain.
Method Summary | |
---|---|
void |
addChangeListener(ConfigurationChangeListener<ReplicationServerCfg> listener)
Register to be notified when this Replication Server is changed. |
java.lang.Class<? extends ReplicationServerCfg> |
configurationClass()
Gets the configuration class associated with this Replication Server. |
int |
getQueueSize()
Gets the "queue-size" property. |
java.lang.String |
getReplicationDBDirectory()
Gets the "replication-db-directory" property. |
int |
getReplicationPort()
Gets the "replication-port" property. |
long |
getReplicationPurgeDelay()
Gets the "replication-purge-delay" property. |
java.util.SortedSet<java.lang.String> |
getReplicationServer()
Gets the "replication-server" property. |
int |
getReplicationServerId()
Gets the "replication-server-id" property. |
int |
getWindowSize()
Gets the "window-size" property. |
void |
removeChangeListener(ConfigurationChangeListener<ReplicationServerCfg> listener)
Deregister an existing Replication Server configuration change listener. |
Methods inherited from interface org.opends.server.admin.Configuration |
---|
dn |
Method Detail |
---|
java.lang.Class<? extends ReplicationServerCfg> configurationClass()
configurationClass
in interface Configuration
void addChangeListener(ConfigurationChangeListener<ReplicationServerCfg> listener)
listener
- The Replication Server configuration change listener.void removeChangeListener(ConfigurationChangeListener<ReplicationServerCfg> listener)
listener
- The Replication Server configuration change listener.int getQueueSize()
Specifies the number of changes that are kept in memory for each Directory Server in the Replication Domain.
java.lang.String getReplicationDBDirectory()
The path where the Replication Server stores all persistent information.
int getReplicationPort()
The port on which this Replication Server waits for connections from other Replication Servers or Directory Servers.
long getReplicationPurgeDelay()
The time (in seconds) after which the Replication Server erases all persistent information.
java.util.SortedSet<java.lang.String> getReplicationServer()
Specifies the addresses of other Replication Servers to which this Replication Server tries to connect at startup time.
Addresses must be specified using the syntax: hostname:port
int getReplicationServerId()
Specifies a unique identifier for the Replication Server.
Each Replication Server must have a different server ID.
int getWindowSize()
Specifies the window size that the Replication Server uses when communicating with other Replication Servers.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |