Package io.deephaven.util.datastructures
Interface ReleaseTracker<RESOURCE_TYPE>
- All Known Implementing Classes:
ReleaseTracker.StrictReleaseTracker
,ReleaseTracker.WeakReleaseTracker
public interface ReleaseTracker<RESOURCE_TYPE>
Instrumentation tool for detecting missing resource releases.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
static interface
static class
static class
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
static final ReleaseTracker.Factory
static final ReleaseTracker.Factory
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
append
(StringBuilder sb, String prefix, StackTraceElement[] es) void
check()
void
reportAcquire
(RESOURCE_TYPE resource) void
reportRelease
(RESOURCE_TYPE resource)
-
Field Details
-
CAPTURE_STACK_TRACES
static final boolean CAPTURE_STACK_TRACES -
strictReleaseTrackerFactory
-
weakReleaseTrackerFactory
-
-
Method Details
-
reportAcquire
-
reportRelease
-
check
void check() -
append
-