@ThreadSafe public class CloseTrackedRegistry<T extends CloseTracked<T>> extends Object
CloseTracked instances.| Constructor and Description | 
|---|
| CloseTrackedRegistry(Object anchor,
                    String createDescription,
                    boolean isDebugContextEnabled)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<CloseTrackedRegistryReportEntry<T>> | getAllUnique()Creates and returns a "report" of (currently) tracked but not (yet) closed
 instances. | 
| Object | getAnchor() | 
| String | getCreateDescription() | 
| boolean | isDebugContextEnabled() | 
public CloseTrackedRegistry(Object anchor, String createDescription, boolean isDebugContextEnabled)
anchor - object where this registry is stored in, used for human output in
            logging and other outputcreateDescription - description of creator of instances of this registry, typically
            e.g. name of method in the anchor classisDebugContextEnabled - whether or not the call stack should be preserved; this is (of
            course) an expensive operation, and should only be used during
            troubleshootingpublic boolean isDebugContextEnabled()
public Object getAnchor()
public String getCreateDescription()
public Set<CloseTrackedRegistryReportEntry<T>> getAllUnique()
Copyright © 2019 OpenDaylight. All rights reserved.