|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.ldap.replication.ReplicaPeerConfiguration
public class ReplicaPeerConfiguration
A configuration for a replica peer. We may have many replications relation set for a server, each one of them being described with this structure.
Constructor Summary | |
---|---|
ReplicaPeerConfiguration()
Creates a new instance of ConsumerConfiguration. |
Method Summary | |
---|---|
org.apache.directory.shared.ldap.name.DN |
getBaseDN()
|
java.lang.String |
getHost()
|
long |
getInterval()
|
java.lang.String |
getPassword()
|
int |
getPort()
|
org.apache.directory.shared.ldap.name.DN |
getPrincipalDN()
|
org.apache.directory.shared.ldap.util.LdapURL |
getProducer()
|
boolean |
isRefreshOnly()
|
boolean |
isUseSSL()
|
void |
setInterval(long interval)
Set the delay between two RefreshOnly replication. |
void |
setPassword(java.lang.String password)
|
void |
setPrincipalDN(java.lang.String principalDN)
|
void |
setProducer(java.lang.String producer)
|
void |
setRefreshOnly(boolean refreshOnly)
Set the type of replication wanted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReplicaPeerConfiguration()
Method Detail |
---|
public void setRefreshOnly(boolean refreshOnly)
refreshOnly
- true if the refreshOnly replication is requestedpublic boolean isRefreshOnly()
public void setInterval(long interval)
interval
- the interval to setpublic long getInterval()
public org.apache.directory.shared.ldap.name.DN getBaseDN()
public void setPrincipalDN(java.lang.String principalDN) throws org.apache.directory.shared.ldap.exception.LdapInvalidDnException
principalDN
- the principalDN to set
org.apache.directory.shared.ldap.exception.LdapInvalidDnException
public org.apache.directory.shared.ldap.name.DN getPrincipalDN()
public void setPassword(java.lang.String password)
password
- the password to setpublic java.lang.String getPassword()
public void setProducer(java.lang.String producer) throws org.apache.directory.shared.ldap.codec.util.LdapURLEncodingException
producer
- the producer to set
org.apache.directory.shared.ldap.codec.util.LdapURLEncodingException
public org.apache.directory.shared.ldap.util.LdapURL getProducer()
public boolean isUseSSL()
public java.lang.String getHost()
public int getPort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |