Interface CacheEntryEvent<K,​V>

    • Method Detail

      • getKey

        K getKey()
        Returns:
        the key to the affected cache entry.
      • getValue

        V getValue()
        Retrieves the value of the affected cache entry
        Returns:
        the value of the cache entry
      • getMetadata

        Metadata getMetadata()
        Retrieves the metadata associated with the entry.
        Returns:
        the metadata of the cache entry
        Since:
        7.0
      • isCurrentState

        default boolean isCurrentState()
        Returns:
        True if this event is generated from an existing entry as the listener has Listener.includeCurrentState() set to true.
        Since:
        9.3