Package | Description |
---|---|
org.cache2k.core | |
org.cache2k.core.operation | |
org.cache2k.core.util |
Modifier and Type | Field and Description |
---|---|
protected InternalClock |
HeapCache.clock |
Modifier and Type | Method and Description |
---|---|
InternalClock |
InternalCache.getClock()
Time reference for the cache.
|
InternalClock |
WiredCache.getClock() |
InternalClock |
EntryAction.getClock() |
InternalClock |
HeapCache.getClock() |
Modifier and Type | Method and Description |
---|---|
boolean |
Entry.hasFreshData(InternalClock t)
Returns true if the entry has a valid value and is fresh / not expired.
|
static <K,V> TimingHandler<K,V> |
TimingHandler.of(InternalClock _clock,
Cache2kConfiguration<K,V> cfg) |
void |
HeapCache.setClock(InternalClock _clock) |
Modifier and Type | Method and Description |
---|---|
InternalClock |
Progress.getClock() |
Modifier and Type | Class and Description |
---|---|
class |
ClockDefaultImpl |
class |
ForwardingClock |
class |
RangeCheckClock |
Constructor and Description |
---|
ForwardingClock(InternalClock _clock) |
RangeCheckClock(long _maxWaitMillis,
InternalClock _clock) |
SimpleTimer(InternalClock c,
String name,
boolean isDaemon)
Creates a new timer whose associated thread has the specified name,
and may be specified to
run as a daemon.
|
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.