Class SoftCache.ValueCell<K,V>
java.lang.Object
java.lang.ref.Reference<V>
java.lang.ref.SoftReference<V>
org.glassfish.pfl.basic.concurrent.SoftCache.ValueCell<K,V>
- Since:
- JDK1.2
- Version:
- 1.6, 03/01/23
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static <K,V> SoftCache.ValueCell <K, V> create(K key, V value, ReferenceQueue<V> queue) private voiddrop()private booleanisValid()private static <K,V> V strip(SoftCache.ValueCell<K, V> val, boolean drop) Methods inherited from class SoftReference
getMethods inherited from class Reference
clear, clone, enqueue, isEnqueued, reachabilityFence, refersTo
-
Field Details
-
dropped
private static int dropped -
keyIsValid
private boolean keyIsValid -
key
-
-
Constructor Details
-
ValueCell
-
-
Method Details
-
create
-
strip
-
isValid
private boolean isValid() -
drop
private void drop()
-