public class ReplicaPeerConfiguration extends Object
| Constructor and Description |
|---|
ReplicaPeerConfiguration()
Creates a new instance of ConsumerConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.shared.ldap.name.DN |
getBaseDN() |
String |
getHost() |
long |
getInterval() |
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(String password) |
void |
setPrincipalDN(String principalDN) |
void |
setProducer(String producer) |
void |
setRefreshOnly(boolean refreshOnly)
Set the type of replication wanted.
|
public ReplicaPeerConfiguration()
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(String principalDN) throws org.apache.directory.shared.ldap.exception.LdapInvalidDnException
principalDN - the principalDN to setorg.apache.directory.shared.ldap.exception.LdapInvalidDnExceptionpublic org.apache.directory.shared.ldap.name.DN getPrincipalDN()
public void setPassword(String password)
password - the password to setpublic String getPassword()
public void setProducer(String producer) throws org.apache.directory.shared.ldap.codec.util.LdapURLEncodingException
producer - the producer to setorg.apache.directory.shared.ldap.codec.util.LdapURLEncodingExceptionpublic org.apache.directory.shared.ldap.util.LdapURL getProducer()
public boolean isUseSSL()
public String getHost()
public int getPort()
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.