|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplicationDomainCfg
A server-side interface for querying Replication Domain settings.
A Replication Domain comprises of several Directory Servers sharing the same synchronized set of data.
Method Summary | |
---|---|
void |
addChangeListener(ConfigurationChangeListener<ReplicationDomainCfg> listener)
Register to be notified when this Replication Domain is changed. |
java.lang.Class<? extends ReplicationDomainCfg> |
configurationClass()
Gets the configuration class associated with this Replication Domain. |
DN |
getBaseDN()
Gets the "base-dn" property. |
long |
getHeartbeatInterval()
Gets the "heartbeat-interval" property. |
ReplicationDomainCfgDefn.IsolationPolicy |
getIsolationPolicy()
Gets the "isolation-policy" property. |
java.util.SortedSet<java.lang.String> |
getReplicationServer()
Gets the "replication-server" property. |
int |
getServerId()
Gets the "server-id" property. |
int |
getWindowSize()
Gets the "window-size" property. |
void |
removeChangeListener(ConfigurationChangeListener<ReplicationDomainCfg> listener)
Deregister an existing Replication Domain configuration change listener. |
Methods inherited from interface org.opends.server.admin.Configuration |
---|
dn |
Method Detail |
---|
java.lang.Class<? extends ReplicationDomainCfg> configurationClass()
configurationClass
in interface Configuration
void addChangeListener(ConfigurationChangeListener<ReplicationDomainCfg> listener)
listener
- The Replication Domain configuration change listener.void removeChangeListener(ConfigurationChangeListener<ReplicationDomainCfg> listener)
listener
- The Replication Domain configuration change listener.DN getBaseDN()
Specifies the base DN of the replicated data.
long getHeartbeatInterval()
Specifies the heart-beat interval that the Directory Server will use when communicating with Replication Servers.
The Directory Server expects a regular heart-beat coming from the Replication Server within the specified interval. If a heartbeat is not received within the interval, the Directory Server closes its connection and connects to another Replication Server.
ReplicationDomainCfgDefn.IsolationPolicy getIsolationPolicy()
Specifies the behavior of the Directory Server if a write operation is attempted on the data within the Replication Domain when none of the configured Replication Servers are available.
java.util.SortedSet<java.lang.String> getReplicationServer()
Specifies the addresses of the Replication Servers within the Replication Domain to which the Directory Server should try to connect at startup time.
Addresses must be specified using the syntax: hostname:port
int getServerId()
Specifies a unique identifier for the Directory Server within the Replication Domain.
Each Directory Server within the same Replication Domain must have a different server ID. A Directory Server which is a member of multiple Replication Domains may use the same server ID for each of its Replication Domain configurations.
int getWindowSize()
Specifies the window size that the Directory Server will use when communicating with Replication Servers.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |