|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.admin.ads.TopologyCacheFilter
public class TopologyCacheFilter
Class used to filter what we look for in the topology cache. This is done in particular to avoid problems of performance when we know what we are looking for. It is particularly useful to avoid searching for monitoring information.
Constructor Summary | |
---|---|
TopologyCacheFilter()
|
Method Summary | |
---|---|
void |
addBaseDNToSearch(java.lang.String dn)
Adds one of the base DNs we must search for. |
java.util.Set<java.lang.String> |
getBaseDNsToSearch()
Returns the list of base DNs that will be searched for. |
void |
removeBaseDNToSearch(java.lang.String dn)
Removes a base DN fom the list of baseDNs to search. |
boolean |
searchAllBaseDNs()
Tells whether this filter specifies to search for all the base DNs or not. |
boolean |
searchBaseDNInformation()
Returns whether we must search for base DN information or not. |
boolean |
searchMonitoringInformation()
Returns whether we must search for monitoring information or not. |
void |
setSearchBaseDNInformation(boolean searchBaseDNInformation)
Sets whether we must search for base DN information or not. |
void |
setSearchMonitoringInformation(boolean searchMonitoringInformation)
Sets whether we must search for monitoring information or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TopologyCacheFilter()
Method Detail |
---|
public boolean searchBaseDNInformation()
true
if we must search base DN information and
false
otherwise.public void setSearchBaseDNInformation(boolean searchBaseDNInformation)
searchBaseDNInformation
- whether we must search for base DN
information or not.public boolean searchMonitoringInformation()
true
if we must search monitoring information and
false
otherwise.public void setSearchMonitoringInformation(boolean searchMonitoringInformation)
searchMonitoringInformation
- whether we must search for monitoring
information or not.public void addBaseDNToSearch(java.lang.String dn)
dn
- the DN of the base DN to look for.public void removeBaseDNToSearch(java.lang.String dn)
dn
- the DN of the base DN to be removed.public java.util.Set<java.lang.String> getBaseDNsToSearch()
public boolean searchAllBaseDNs()
true
if the filter specifies to search for all the
base DNs and false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |