| Package | Description |
|---|---|
| org.cache2k.core | |
| org.cache2k.core.util |
| Modifier and Type | Field and Description |
|---|---|
protected InternalClock |
HeapCache.clock |
| Modifier and Type | Method and Description |
|---|---|
InternalClock |
HeapCache.getClock() |
InternalClock |
InternalCache.getClock()
Time reference for the cache.
|
InternalClock |
WiredCache.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,
org.cache2k.configuration.Cache2kConfiguration<K,V> cfg) |
void |
HeapCache.setClock(InternalClock _clock) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClockDefaultImpl |
| Constructor and Description |
|---|
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–2019 headissue GmbH, Munich.