org.ofbiz.base.concurrent
Class ExecutionPool.Pulse
java.lang.Object
org.ofbiz.base.concurrent.ExecutionPool.Pulse
- All Implemented Interfaces:
- java.lang.Comparable<java.util.concurrent.Delayed>, java.lang.Runnable, java.util.concurrent.Delayed
- Direct Known Subclasses:
- CacheLine, TTLObject.Pulse
- Enclosing class:
- ExecutionPool
public abstract static class ExecutionPool.Pulse
- extends java.lang.Object
- implements java.util.concurrent.Delayed, java.lang.Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
expireTimeNanos
protected final long expireTimeNanos
loadTimeNanos
protected final long loadTimeNanos
ExecutionPool.Pulse
protected ExecutionPool.Pulse(long delayNanos)
ExecutionPool.Pulse
protected ExecutionPool.Pulse(long loadTimeNanos,
long delayNanos)
getLoadTimeNanos
public long getLoadTimeNanos()
getExpireTimeNanos
public long getExpireTimeNanos()
getDelay
public final long getDelay(java.util.concurrent.TimeUnit unit)
- Specified by:
getDelay in interface java.util.concurrent.Delayed
compareTo
public final int compareTo(java.util.concurrent.Delayed other)
- Specified by:
compareTo in interface java.lang.Comparable<java.util.concurrent.Delayed>