Package io.deephaven.base.reference
Interface CleanupReference<T>
- All Superinterfaces:
SimpleReference<T>
- All Known Implementing Classes:
WeakCleanupReference
SimpleReference with an additional cleanup callback.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
Allow for a reference queue consumer to invoke a custom cleanup method, for post-GC resource reclamation.Methods inherited from interface io.deephaven.base.reference.SimpleReference
clear, get
-
Method Details
-
cleanup
void cleanup()Allow for a reference queue consumer to invoke a custom cleanup method, for post-GC resource reclamation.
-