Package | Description |
---|---|
org.cache2k |
Modifier and Type | Interface and Description |
---|---|
interface |
MutableCacheEntry<K,T> |
Modifier and Type | Method and Description |
---|---|
CacheEntry<K,T> |
Cache.getEntry(K key)
Returns a mapped entry from the cache or null.
|
CacheEntry<K,T> |
Cache.peekEntry(K key)
Returns a mapped entry from the cache or null.
|
Modifier and Type | Method and Description |
---|---|
ClosableIterator<CacheEntry<K,T>> |
Cache.iterator()
Iterate all entries in the cache.
|
Modifier and Type | Method and Description |
---|---|
long |
EntryExpiryCalculator.calculateExpiryTime(K _key,
T _value,
long _fetchTime,
CacheEntry<K,T> _oldEntry)
Returns the time of expiry in milliseconds since epoch.
|
Modifier and Type | Method and Description |
---|---|
List<T> |
BulkCacheSource.getValues(List<CacheEntry<K,T>> entries,
long currentTime)
Retrieve the values for the given cache entries.
|
cache2k API documentation. Copyright © 2000–2016 headissue GmbH, Munich.