Class JCacheEntry<K,V>

java.lang.Object
org.infinispan.jcache.JCacheEntry<K,V>
Type Parameters:
K - the type of key maintained by this cache entry
V - the type of value maintained by this cache entry
All Implemented Interfaces:
javax.cache.Cache.Entry<K,V>

public final class JCacheEntry<K,V> extends Object implements javax.cache.Cache.Entry<K,V>
Infinispan implementation of javax.cache.Cache.Entry<K,V>.
Since:
5.3
Author:
Vladimir Blagojevic, Galder ZamarreƱo
  • Field Details

    • key

      protected final K key
    • value

      protected final V value
  • Constructor Details

    • JCacheEntry

      public JCacheEntry(K key, V value)
  • Method Details

    • getKey

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

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

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