Class References
- java.lang.Object
-
- com.github.benmanes.caffeine.cache.References
-
final class References extends java.lang.Object
Static utility methods and classes pertaining to weak and soft references.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interface
References.InternalReference<E>
A weak or soft reference that includes the entry's key reference.(package private) static class
References.LookupKeyReference<E>
A short-lived adapter used for looking up an entry in the cache where the keys are weakly held.(package private) static class
References.SoftValueReference<V>
The value in a cache that holds values softly.(package private) static class
References.WeakKeyReference<K>
The key in a cache that holds keys weakly.(package private) static class
References.WeakValueReference<V>
The value in a cache that holds values weakly.
-
Constructor Summary
Constructors Modifier Constructor Description private
References()
-