public interface CleaningRef
Referencesubclasses that have some operation that should be performed after they are enqueued in a
ReferenceQueue. Implementing classes should extend
Referenceor its subclasses. The
cleanup()method should be implemented with whatever behavior should be performed when the reference enters its associated
ReferenceQueue, which depends on the type of reference extended.
Copyright © 2015–2017 SCIFIO. All rights reserved.