|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.ldap.replication.SyncReplConfiguration
public class SyncReplConfiguration
A class for holding the syncrepl consumer's configuration. the following parameters
are part of the Syncrepl Consumer configuration :
| Constructor Summary | |
|---|---|
SyncReplConfiguration()
Creates a new instance of SyncreplConfiguration |
|
| Method Summary | |
|---|---|
org.apache.directory.api.ldap.model.message.AliasDerefMode |
getAliasDerefMode()
|
String[] |
getAttributes()
|
String |
getBaseDn()
|
org.apache.directory.api.ldap.model.name.Dn |
getConfigEntryDn()
|
byte[] |
getCookie()
|
String |
getFilter()
|
String |
getProducer()
A convenient method that concatenates the host and port of the producer |
long |
getRefreshInterval()
|
String |
getRemoteHost()
|
int |
getRemotePort()
|
int |
getReplicaId()
|
String |
getReplUserDn()
|
byte[] |
getReplUserPassword()
|
org.apache.directory.api.ldap.model.message.SearchScope |
getSearchScope()
|
int |
getSearchSizeLimit()
|
int |
getSearchTimeout()
|
X509TrustManager |
getTrustManager()
|
boolean |
isChaseReferrals()
Tells if we chase referrals |
boolean |
isMmrMode()
|
boolean |
isRefreshNPersist()
|
boolean |
isStrictCertVerification()
|
boolean |
isUseTls()
|
void |
setAliasDerefMode(org.apache.directory.api.ldap.model.message.AliasDerefMode aliasDerefMode)
|
void |
setAttributes(String[] attrs)
|
void |
setBaseDn(String baseDn)
|
void |
setChaseReferrals(boolean chaseReferrals)
|
void |
setConfigEntryDn(org.apache.directory.api.ldap.model.name.Dn configEntryDn)
|
void |
setCookie(byte[] cookie)
|
void |
setFilter(String filter)
|
void |
setMmrMode(boolean mmrMode)
enable/disable MMR option |
void |
setRefreshInterval(long refreshInterval)
|
void |
setRefreshNPersist(boolean refreshNPersist)
|
void |
setRemoteHost(String remoteHost)
|
void |
setRemotePort(int remotePort)
|
void |
setReplicaId(int replicaId)
|
void |
setReplUserDn(String replUserdDn)
|
void |
setReplUserPassword(byte[] replUserPassword)
|
void |
setSearchScope(org.apache.directory.api.ldap.model.message.SearchScope searchScope)
|
void |
setSearchSizeLimit(int searchSizeLimit)
|
void |
setSearchTimeout(int searchTimeout)
|
void |
setStrictCertVerification(boolean strictCertVerification)
set the strict certificate verification |
void |
setUseTls(boolean useTls)
set the option to turn on/off use of TLS |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SyncReplConfiguration()
| Method Detail |
|---|
public String getRemoteHost()
public void setRemoteHost(String remoteHost)
remoteHost - the remote Host to setpublic String getProducer()
public int getRemotePort()
public void setRemotePort(int remotePort)
remotePort - the remote port to setpublic String getReplUserDn()
public void setReplUserDn(String replUserdDn)
replUserdDn - the Dn of the replication userpublic byte[] getReplUserPassword()
public void setReplUserPassword(byte[] replUserPassword)
replUserPassword - the replication user's passwordpublic boolean isRefreshNPersist()
public void setRefreshNPersist(boolean refreshNPersist)
refreshNPersist - the falg indicating to run the consumer in refreshAndPersist modepublic long getRefreshInterval()
public void setRefreshInterval(long refreshInterval)
refreshInterval - the consumerInterval to setpublic String getBaseDn()
public void setBaseDn(String baseDn)
baseDn - the baseDn to setpublic String getFilter()
public void setFilter(String filter)
filter - the filter to setpublic String[] getAttributes()
public void setAttributes(String[] attrs)
attrs - the attributes to setpublic int getSearchSizeLimit()
public void setSearchSizeLimit(int searchSizeLimit)
searchSizeLimit - the searchSizeLimit to setpublic int getSearchTimeout()
public void setSearchTimeout(int searchTimeout)
searchTimeout - the searchTimeout to setpublic org.apache.directory.api.ldap.model.message.SearchScope getSearchScope()
public void setSearchScope(org.apache.directory.api.ldap.model.message.SearchScope searchScope)
searchScope - the searchScope to setpublic int getReplicaId()
public void setReplicaId(int replicaId)
replicaId - the replicaId to setpublic org.apache.directory.api.ldap.model.message.AliasDerefMode getAliasDerefMode()
public void setAliasDerefMode(org.apache.directory.api.ldap.model.message.AliasDerefMode aliasDerefMode)
aliasDerefMode - Should be either NEVER_DEREF_ALIASES or DEREF_FINDING_BASE_OBJpublic byte[] getCookie()
public void setCookie(byte[] cookie)
cookie - The cookie to setpublic boolean isChaseReferrals()
public void setChaseReferrals(boolean chaseReferrals)
chaseReferrals - Lust be false, always.public org.apache.directory.api.ldap.model.name.Dn getConfigEntryDn()
public boolean isUseTls()
public void setUseTls(boolean useTls)
useTls - public boolean isStrictCertVerification()
public void setStrictCertVerification(boolean strictCertVerification)
strictCertVerification - public X509TrustManager getTrustManager()
public void setConfigEntryDn(org.apache.directory.api.ldap.model.name.Dn configEntryDn)
configEntryDn - the configEntryDn to setpublic boolean isMmrMode()
public void setMmrMode(boolean mmrMode)
mmrMode - public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||