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