Package io.deephaven.util.datastructures
Class ReleaseTracker.WeakReleaseTracker<RESOURCE_TYPE>
java.lang.Object
io.deephaven.util.datastructures.ReleaseTracker.WeakReleaseTracker<RESOURCE_TYPE>
- All Implemented Interfaces:
ReleaseTracker<RESOURCE_TYPE>
- Enclosing interface:
- ReleaseTracker<RESOURCE_TYPE>
public static class ReleaseTracker.WeakReleaseTracker<RESOURCE_TYPE>
extends Object
implements ReleaseTracker<RESOURCE_TYPE>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.util.datastructures.ReleaseTracker
ReleaseTracker.AlreadyAcquiredException, ReleaseTracker.AlreadyReleasedException, ReleaseTracker.Factory, ReleaseTracker.LeakedException, ReleaseTracker.MissedReleaseException, ReleaseTracker.StrictReleaseTracker<RESOURCE_TYPE>, ReleaseTracker.UnmatchedAcquireException, ReleaseTracker.WeakReleaseTracker<RESOURCE_TYPE>
-
Field Summary
Fields inherited from interface io.deephaven.util.datastructures.ReleaseTracker
CAPTURE_STACK_TRACES, strictReleaseTrackerFactory, weakReleaseTrackerFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
check()
final void
reportAcquire
(RESOURCE_TYPE resource) final void
reportRelease
(RESOURCE_TYPE resource)
-
Constructor Details
-
WeakReleaseTracker
public WeakReleaseTracker()
-
-
Method Details
-
check
public final void check()- Specified by:
check
in interfaceReleaseTracker<RESOURCE_TYPE>
-
reportAcquire
- Specified by:
reportAcquire
in interfaceReleaseTracker<RESOURCE_TYPE>
-
reportRelease
- Specified by:
reportRelease
in interfaceReleaseTracker<RESOURCE_TYPE>
-