Package org.apache.ofbiz.base.util.cache
Class SoftRefCacheLine<V>
- java.lang.Object
-
- org.apache.ofbiz.base.concurrent.ExecutionPool.Pulse
-
- org.apache.ofbiz.base.util.cache.CacheLine<V>
-
- org.apache.ofbiz.base.util.cache.SoftRefCacheLine<V>
-
- All Implemented Interfaces:
java.lang.Comparable<java.util.concurrent.Delayed>
,java.lang.Runnable
,java.util.concurrent.Delayed
public abstract class SoftRefCacheLine<V> extends CacheLine<V>
-
-
Field Summary
Fields Modifier and Type Field Description CacheSoftReference<V>
ref
-
Fields inherited from class org.apache.ofbiz.base.concurrent.ExecutionPool.Pulse
expireTimeNanos, loadTimeNanos
-
-
Constructor Summary
Constructors Constructor Description SoftRefCacheLine(V value, long loadTimeNanos, long expireTimeNanos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
getValue()
-
Methods inherited from class org.apache.ofbiz.base.concurrent.ExecutionPool.Pulse
compareTo, equals, getDelay, getExpireTimeNanos, getLoadTimeNanos, hashCode, timeDiff
-
-