Class JMutableEntry<K,V>

java.lang.Object
org.redisson.jcache.JMutableEntry<K,V>
Type Parameters:
K - key
V - value
All Implemented Interfaces:
javax.cache.Cache.Entry<K,V>, javax.cache.processor.MutableEntry<K,V>

public class JMutableEntry<K,V> extends Object implements javax.cache.processor.MutableEntry<K,V>
Author:
Nikita Koksharov
  • Constructor Details

    • JMutableEntry

      public JMutableEntry(JCache<K,V> jCache, K key, V value, boolean isReadThrough)
  • Method Details

    • getKey

      public K getKey()
      Specified by:
      getKey in interface javax.cache.Cache.Entry<K,V>
    • value

      public V value()
    • getValue

      public V getValue()
      Specified by:
      getValue in interface javax.cache.Cache.Entry<K,V>
      Specified by:
      getValue in interface javax.cache.processor.MutableEntry<K,V>
    • unwrap

      public <T> T unwrap(Class<T> clazz)
      Specified by:
      unwrap in interface javax.cache.Cache.Entry<K,V>
    • exists

      public boolean exists()
      Specified by:
      exists in interface javax.cache.processor.MutableEntry<K,V>
    • remove

      public void remove()
      Specified by:
      remove in interface javax.cache.processor.MutableEntry<K,V>
    • setValue

      public void setValue(V value)
      Specified by:
      setValue in interface javax.cache.processor.MutableEntry<K,V>
    • getAction

      public JMutableEntry.Action getAction()