Package | Description |
---|---|
org.cache2k.core | |
org.cache2k.core.operation |
Modifier and Type | Class and Description |
---|---|
class |
Entry<K,T>
The cache entry.
|
Modifier and Type | Method and Description |
---|---|
void |
EntryAction.entryResult(ExaminationEntry e) |
static <K,V> CacheEntry<K,V> |
HeapCache.returnCacheEntry(ExaminationEntry<K,V> _entry) |
protected CacheEntry<K,V> |
HeapCache.returnEntry(ExaminationEntry<K,V> e)
Wrap entry in a separate object instance.
|
Modifier and Type | Method and Description |
---|---|
Map<K,V> |
HeapCache.convertValueMap(Map<K,ExaminationEntry<K,V>> _map) |
Modifier and Type | Interface and Description |
---|---|
interface |
LoadedEntry<K,V> |
interface |
ResultEntry<K,V>
Needed for getAll and peekAll to have the valueOrException.
|
Modifier and Type | Class and Description |
---|---|
class |
ReadOnlyCacheEntry<K,V> |
Modifier and Type | Method and Description |
---|---|
void |
Progress.entryResult(ExaminationEntry e)
Returns a cache entry as result.
|
void |
Semantic.examine(Progress<K,V,R> c,
ExaminationEntry<K,V> e)
Called with the entry containing the recent content.
|
void |
Semantic.Update.examine(Progress<K,V,R> c,
ExaminationEntry<K,V> e)
Instruct to lock the entry for the update.
|
void |
Semantic.UpdateExisting.examine(Progress<K,V,R> c,
ExaminationEntry<K,V> e)
Unconditionally request mutation lock.
|
void |
Semantic.loaded(Progress<K,V,R> c,
ExaminationEntry<K,V> e)
Load is complete.
|
void |
Semantic.Base.loaded(Progress<K,V,R> c,
ExaminationEntry<K,V> e)
By default a load returns always the value as result.
|
void |
Semantic.update(Progress<K,V,R> c,
ExaminationEntry<K,V> e)
Perform the mutation.
|
abstract void |
Semantic.Update.update(Progress<K,V,R> c,
ExaminationEntry<K,V> e)
Called to update the entry.
|
abstract void |
Semantic.UpdateExisting.update(Progress<K,V,R> c,
ExaminationEntry<K,V> e)
Inspect the element state and issue and update of it.
|
void |
Semantic.Read.update(Progress<K,V,R> c,
ExaminationEntry<K,V> e)
No operation.
|
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.