Package org.cache2k.core.operation
Class Operations.ExpireEvent<K,V>
- java.lang.Object
-
- org.cache2k.core.operation.Semantic.Base<K,V,R>
-
- org.cache2k.core.operation.Semantic.MightUpdate<K,V,Void>
-
- org.cache2k.core.operation.Operations.ExpireEvent<K,V>
-
- Enclosing class:
- Operations<K,V>
public static class Operations.ExpireEvent<K,V> extends Semantic.MightUpdate<K,V,Void>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.cache2k.core.operation.Semantic
Semantic.Base<K,V,R>, Semantic.InsertOrUpdate<K,V,R>, Semantic.MightUpdate<K,V,R>, Semantic.Read<K,V,R>, Semantic.Update<K,V,R>
-
-
Constructor Summary
Constructors Constructor Description ExpireEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexamine(K key, Progress<K,V,Void> c, ExaminationEntry<K,V> e)Called with the entry containing the recent content.voidmutate(K key, Progress<K,V,Void> c, ExaminationEntry<K,V> e)Perform the mutation.-
Methods inherited from class org.cache2k.core.operation.Semantic.MightUpdate
start
-
Methods inherited from class org.cache2k.core.operation.Semantic.Base
loaded
-
-
-
-
Method Detail
-
examine
public void examine(K key, Progress<K,V,Void> c, ExaminationEntry<K,V> e)
Description copied from interface:SemanticCalled with the entry containing the recent content. If this method finishes withProgress.wantMutation()it will be called again after the entry is locked for mutation to reevaluate the examination after concurrent operations on the same entry have completed.
-
-