Class 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
    • Constructor Detail

      • CacheQueryEntryEvent

        public CacheQueryEntryEvent​(javax.cache.Cache src,
                                    javax.cache.event.EventType evtType)
        Constructs a cache entry event from a given cache as source.
        Parameters:
        src - The cache that originated the event.
        evtType - Event type.
    • 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.
        Returns:
        Value of counter for this event.