Package | Description |
---|---|
org.cache2k.core | |
org.cache2k.core.operation |
Modifier and Type | Class and Description |
---|---|
class |
EntryAction<K,V,R>
This is a method object to perform an operation on an entry.
|
Modifier and Type | Method and Description |
---|---|
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.start(Progress<K,V,R> c)
Start of the operation.
|
void |
Semantic.Update.start(Progress<K,V,R> c)
Instruct to lock the entry for the update.
|
void |
Semantic.UpdateExisting.start(Progress<K,V,R> c)
Request latest data.
|
void |
Semantic.MightUpdateExisting.start(Progress<K,V,R> c) |
void |
Semantic.Read.start(Progress<K,V,R> c)
Instruct to provide the cache content
|
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.