saker.build Documentation TaskDoc JavaDoc
package saker.build.thirdparty.saker.util.ref
Package containing classes related to reference management in the JVM.
Interfaces
Token
Common superinterface for tokens which play a role in keeping weakly referenced objects from garbage collection.
Classes
StrongSoftReference
Reference class that allows the referent to be strongly referenced alongside its soft reference.
StrongWeakReference
Reference class that allows the referent to be strongly referenced alongside its weak reference.
SupplierSoftReference
Class extending SoftReference and also implementing Supplier.
SupplierWeakReference
Class extending WeakReference and also implementing Supplier.
WeakReferencedToken
Token implementation that is initialized with a weak and a strong reference.