|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplicationServerCfgClient
A client-side interface for reading and modifying Replication Server settings.
Replication Servers publish updates to Directory Servers within a Replication Domain.
Method Summary | |
---|---|
ManagedObjectDefinition<? extends ReplicationServerCfgClient,? extends ReplicationServerCfg> |
definition()
Get the configuration definition associated with this Replication Server. |
int |
getQueueSize()
Gets the "queue-size" property. |
java.lang.String |
getReplicationDBDirectory()
Gets the "replication-db-directory" property. |
java.lang.Integer |
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. |
java.lang.Integer |
getReplicationServerId()
Gets the "replication-server-id" property. |
int |
getWindowSize()
Gets the "window-size" property. |
void |
setQueueSize(java.lang.Integer value)
Sets the "queue-size" property. |
void |
setReplicationDBDirectory(java.lang.String value)
Sets the "replication-db-directory" property. |
void |
setReplicationPort(int value)
Sets the "replication-port" property. |
void |
setReplicationPurgeDelay(java.lang.Long value)
Sets the "replication-purge-delay" property. |
void |
setReplicationServer(java.util.Collection<java.lang.String> values)
Sets the "replication-server" property. |
void |
setReplicationServerId(int value)
Sets the "replication-server-id" property. |
void |
setWindowSize(java.lang.Integer value)
Sets the "window-size" property. |
Methods inherited from interface org.opends.server.admin.ConfigurationClient |
---|
commit, properties |
Method Detail |
---|
ManagedObjectDefinition<? extends ReplicationServerCfgClient,? extends ReplicationServerCfg> definition()
definition
in interface ConfigurationClient
int getQueueSize()
Specifies the number of changes that are kept in memory for each Directory Server in the Replication Domain.
void setQueueSize(java.lang.Integer value) throws IllegalPropertyValueException
Specifies the number of changes that are kept in memory for each Directory Server in the Replication Domain.
value
- The value of the "queue-size" property.
IllegalPropertyValueException
- If the new value is invalid.java.lang.String getReplicationDBDirectory()
The path where the Replication Server stores all persistent information.
void setReplicationDBDirectory(java.lang.String value) throws IllegalPropertyValueException, PropertyIsReadOnlyException
The path where the Replication Server stores all persistent information.
This property is read-only and can only be modified during creation of a Replication Server.
value
- The value of the "replication-db-directory" property.
IllegalPropertyValueException
- If the new value is invalid.
PropertyIsReadOnlyException
- If this Replication Server is not being initialized.java.lang.Integer getReplicationPort()
The port on which this Replication Server waits for connections from other Replication Servers or Directory Servers.
void setReplicationPort(int value) throws IllegalPropertyValueException
The port on which this Replication Server waits for connections from other Replication Servers or Directory Servers.
value
- The value of the "replication-port" property.
IllegalPropertyValueException
- If the new value is invalid.long getReplicationPurgeDelay()
The time (in seconds) after which the Replication Server erases all persistent information.
void setReplicationPurgeDelay(java.lang.Long value) throws IllegalPropertyValueException
The time (in seconds) after which the Replication Server erases all persistent information.
value
- The value of the "replication-purge-delay" property.
IllegalPropertyValueException
- If the new value is invalid.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
void setReplicationServer(java.util.Collection<java.lang.String> values) throws IllegalPropertyValueException
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
values
- The values of the "replication-server" property.
IllegalPropertyValueException
- If one or more of the new values are invalid.java.lang.Integer getReplicationServerId()
Specifies a unique identifier for the Replication Server.
Each Replication Server must have a different server ID.
void setReplicationServerId(int value) throws IllegalPropertyValueException, PropertyIsReadOnlyException
Specifies a unique identifier for the Replication Server.
Each Replication Server must have a different server ID.
This property is read-only and can only be modified during creation of a Replication Server.
value
- The value of the "replication-server-id" property.
IllegalPropertyValueException
- If the new value is invalid.
PropertyIsReadOnlyException
- If this Replication Server is not being initialized.int getWindowSize()
Specifies the window size that the Replication Server uses when communicating with other Replication Servers.
void setWindowSize(java.lang.Integer value) throws IllegalPropertyValueException
Specifies the window size that the Replication Server uses when communicating with other Replication Servers.
value
- The value of the "window-size" property.
IllegalPropertyValueException
- If the new value is invalid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |