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.setExpiry(long t)
Set a new expiry time for the entry.
|
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> e)
Examines or mutates an entry.
|
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.