Package org.opends.admin.ads
Class TopologyCacheFilter
- java.lang.Object
-
- org.opends.admin.ads.TopologyCacheFilter
-
public class TopologyCacheFilter extends Object
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
Constructors Constructor Description TopologyCacheFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBaseDNsToSearch(Collection<DN> dns)Adds all the base DNs we must search for.voidaddBaseDNToSearch(DN dn)Adds one of the base DNs we must search for.Set<DN>getBaseDNsToSearch()Returns the list of base DNs that will be searched for.voidsetSearchBaseDNInformation(boolean searchBaseDNInformation)Sets whether we must search for base DN information or not.voidsetSearchMonitoringInformation(boolean searchMonitoringInformation)Sets whether we must search for monitoring information or not.StringtoString()
-
-
-
Method Detail
-
setSearchBaseDNInformation
public void setSearchBaseDNInformation(boolean searchBaseDNInformation)
Sets whether we must search for base DN information or not.- Parameters:
searchBaseDNInformation- whether we must search for base DN information or not.
-
setSearchMonitoringInformation
public void setSearchMonitoringInformation(boolean searchMonitoringInformation)
Sets whether we must search for monitoring information or not.- Parameters:
searchMonitoringInformation- whether we must search for monitoring information or not.
-
addBaseDNToSearch
public void addBaseDNToSearch(DN dn)
Adds one of the base DNs we must search for. If at least one baseDN is added using this method, only the added baseDNs are searched. If no base DN is added, all the base DNs will be retrieved.- Parameters:
dn- the base DN to look for.
-
addBaseDNsToSearch
public void addBaseDNsToSearch(Collection<DN> dns)
Adds all the base DNs we must search for. If at least one baseDN is added using this method, only the added baseDNs are searched. If no base DN is added, all the base DNs will be retrieved.- Parameters:
dns- the base DNs to look for.
-
getBaseDNsToSearch
public Set<DN> getBaseDNsToSearch()
Returns the list of base DNs that will be searched for. If the list is empty we will search for all the base DNs.- Returns:
- the list of base DNs we will search for.
-
-