Package org.apache.ignite.cache.query
Class CacheQueryEntryEvent<K,V>
- java.lang.Object
- 
- java.util.EventObject
- 
- javax.cache.event.CacheEntryEvent<K,V>
- 
- org.apache.ignite.cache.query.CacheEntryEventAdapter<K,V>
- 
- org.apache.ignite.cache.query.CacheQueryEntryEvent<K,V>
 
 
 
 
- 
- Type Parameters:
- K- The type of key.
- V- The type of value.
 - All Implemented Interfaces:
- Serializable,- javax.cache.Cache.Entry<K,V>
 
 public abstract class CacheQueryEntryEvent<K,V> extends CacheEntryEventAdapter<K,V> A Cache continuous query entry event.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class java.util.EventObjectsource
 
- 
 - 
Constructor SummaryConstructors Constructor Description CacheQueryEntryEvent(javax.cache.Cache src, javax.cache.event.EventType evtType)Constructs a cache entry event from a given cache as source.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract longgetPartitionUpdateCounter()Each cache update increases partition counter.- 
Methods inherited from class org.apache.ignite.cache.query.CacheEntryEventAdaptergetNewValue, getValue, unwrap
 - 
Methods inherited from class javax.cache.event.CacheEntryEventgetEventType, getOldValue, getSource, isOldValueAvailable
 - 
Methods inherited from class java.util.EventObjecttoString
 
- 
 
- 
- 
- 
Method Detail- 
getPartitionUpdateCounterpublic 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.- Returns:
- Value of counter for this event.
 
 
- 
 
-