Package | Description |
---|---|
org.cache2k.processor |
Entry processor and supporting types for custom atomic operations on a cache entry.
|
Modifier and Type | Method and Description |
---|---|
MutableCacheEntry<K,V> |
MutableCacheEntry.remove()
Removes an entry from the cache.
|
MutableCacheEntry<K,V> |
MutableCacheEntry.setException(Throwable ex)
Insert or update the entry and sets an exception.
|
MutableCacheEntry<K,V> |
MutableCacheEntry.setExpiryTime(long t)
Set a new expiry time for the entry.
|
MutableCacheEntry<K,V> |
MutableCacheEntry.setRefreshedTime(long t)
If
setValue(Object) is used, this sets an alternative refreshed time for
expiry calculations. |
MutableCacheEntry<K,V> |
MutableCacheEntry.setValue(V v)
Insert or updates the cache value assigned to this key.
|
Modifier and Type | Method and Description |
---|---|
R |
EntryProcessor.process(MutableCacheEntry<K,V> entry)
Examines or mutates an entry.
|
cache2k API documentation. Copyright © 2000–2020 headissue GmbH, Munich.