Package org.apache.ignite.cache
Class CacheInterceptorEntry<K,V>
- java.lang.Object
-
- org.apache.ignite.cache.CacheInterceptorEntry<K,V>
-
- Type Parameters:
K
- The type of key.V
- The type of value.
- All Implemented Interfaces:
javax.cache.Cache.Entry<K,V>
public abstract class CacheInterceptorEntry<K,V> extends Object implements javax.cache.Cache.Entry<K,V>
A cache interceptor map entry.
-
-
Constructor Summary
Constructors Constructor Description CacheInterceptorEntry()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract long
getPartitionUpdateCounter()
Each cache update increases partition counter.
-
-
-
Method Detail
-
getPartitionUpdateCounter
public abstract long getPartitionUpdateCounter()
Each cache update increases partition counter. The same cache updates have on the same value of counter on primary and backup nodes. This value can be useful to communicate with external applications. The value has sense only for entries get byCacheInterceptor.onAfterPut(Cache.Entry)
andCacheInterceptor.onAfterRemove(Cache.Entry)
methods. For entries got by other methods will return0
.- Returns:
- Value of counter for this entry.
-
-