|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.admin.AbstractManagedObjectDefinition<C,S>
org.opends.server.admin.ManagedObjectDefinition<ReplicationDomainCfgClient,ReplicationDomainCfg>
org.opends.server.admin.std.meta.ReplicationDomainCfgDefn
public final class ReplicationDomainCfgDefn
An interface for querying the Replication Domain managed object definition meta information.
A Replication Domain comprises of several Directory Servers sharing the same synchronized set of data.
Nested Class Summary | |
---|---|
static class |
ReplicationDomainCfgDefn.IsolationPolicy
Defines the set of permissable values for the "isolation-policy" property. |
Method Summary | |
---|---|
ReplicationDomainCfgClient |
createClientConfiguration(ManagedObject<? extends ReplicationDomainCfgClient> impl)
Creates a client configuration view of the provided managed object. |
ReplicationDomainCfg |
createServerConfiguration(ServerManagedObject<? extends ReplicationDomainCfg> impl)
Creates a server configuration view of the provided server managed object. |
DNPropertyDefinition |
getBaseDNPropertyDefinition()
Get the "base-dn" property definition. |
DurationPropertyDefinition |
getHeartbeatIntervalPropertyDefinition()
Get the "heartbeat-interval" property definition. |
static ReplicationDomainCfgDefn |
getInstance()
Get the Replication Domain configuration definition singleton. |
EnumPropertyDefinition<ReplicationDomainCfgDefn.IsolationPolicy> |
getIsolationPolicyPropertyDefinition()
Get the "isolation-policy" property definition. |
StringPropertyDefinition |
getReplicationServerPropertyDefinition()
Get the "replication-server" property definition. |
java.lang.Class<ReplicationDomainCfg> |
getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition. |
IntegerPropertyDefinition |
getServerIdPropertyDefinition()
Get the "server-id" property definition. |
IntegerPropertyDefinition |
getWindowSizePropertyDefinition()
Get the "window-size" property definition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ReplicationDomainCfgDefn getInstance()
public ReplicationDomainCfgClient createClientConfiguration(ManagedObject<? extends ReplicationDomainCfgClient> impl)
createClientConfiguration
in class ManagedObjectDefinition<ReplicationDomainCfgClient,ReplicationDomainCfg>
impl
- The managed object.
public ReplicationDomainCfg createServerConfiguration(ServerManagedObject<? extends ReplicationDomainCfg> impl)
createServerConfiguration
in class ManagedObjectDefinition<ReplicationDomainCfgClient,ReplicationDomainCfg>
impl
- The server managed object.
public java.lang.Class<ReplicationDomainCfg> getServerConfigurationClass()
getServerConfigurationClass
in class ManagedObjectDefinition<ReplicationDomainCfgClient,ReplicationDomainCfg>
public DNPropertyDefinition getBaseDNPropertyDefinition()
Specifies the base DN of the replicated data.
public DurationPropertyDefinition getHeartbeatIntervalPropertyDefinition()
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.
public EnumPropertyDefinition<ReplicationDomainCfgDefn.IsolationPolicy> getIsolationPolicyPropertyDefinition()
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.
public StringPropertyDefinition getReplicationServerPropertyDefinition()
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
public IntegerPropertyDefinition getServerIdPropertyDefinition()
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.
public IntegerPropertyDefinition getWindowSizePropertyDefinition()
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 |