Class CacheContinuousQueryManager.CacheEntryEventImpl

    • Constructor Detail

      • CacheEntryEventImpl

        public CacheEntryEventImpl​(javax.cache.Cache src,
                                   javax.cache.event.EventType evtType,
                                   Object key,
                                   Object val)
        Parameters:
        src - Event source.
        evtType - Event type.
        key - Key.
        val - Value.
    • Method Detail

      • getPartitionUpdateCounter

        public 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.
        Specified by:
        getPartitionUpdateCounter in class CacheQueryEntryEvent
        Returns:
        Value of counter for this event.
      • getOldValue

        public Object getOldValue()
        Specified by:
        getOldValue in class javax.cache.event.CacheEntryEvent
      • isOldValueAvailable

        public boolean isOldValueAvailable()
        Specified by:
        isOldValueAvailable in class javax.cache.event.CacheEntryEvent
      • getKey

        public Object getKey()