Package com.complexible.common.base
Class ActiveResources
- java.lang.Object
-
- com.complexible.common.base.ActiveResources
-
public class ActiveResources extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackTrace
add(java.lang.Object object)
void
clear()
java.util.Map<StackTrace,java.lang.Long>
creationSiteCounts()
java.util.stream.Stream<StackTrace>
creationSites()
java.util.stream.Stream<StackTrace>
creationSites(java.lang.Class type)
StackTrace
creationStackTrace(java.lang.Object object)
boolean
isEmpty()
StackTrace
remove(java.lang.Object object)
java.util.stream.Stream<java.lang.Object>
resources()
java.util.stream.Stream<java.lang.Object>
resources(java.lang.Class type)
int
size()
java.util.Map<java.lang.Class,java.lang.Long>
typeCounts()
java.util.stream.Stream<java.lang.Class>
types()
-
-
-
Method Detail
-
add
@Nullable public StackTrace add(java.lang.Object object)
-
remove
@Nullable public StackTrace remove(java.lang.Object object)
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
clear
public void clear()
-
creationStackTrace
@Nullable public StackTrace creationStackTrace(java.lang.Object object)
-
resources
public java.util.stream.Stream<java.lang.Object> resources()
-
resources
public java.util.stream.Stream<java.lang.Object> resources(java.lang.Class type)
-
types
public java.util.stream.Stream<java.lang.Class> types()
-
creationSites
public java.util.stream.Stream<StackTrace> creationSites()
-
creationSites
public java.util.stream.Stream<StackTrace> creationSites(java.lang.Class type)
-
typeCounts
public java.util.Map<java.lang.Class,java.lang.Long> typeCounts()
-
creationSiteCounts
public java.util.Map<StackTrace,java.lang.Long> creationSiteCounts()
-
-