Class 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 Cache.Entry.
    Since:
    5.3
    Author:
    Vladimir Blagojevic, Galder ZamarreƱo
    • Field Detail

      • key

        protected final K key
      • value

        protected final V value
    • Constructor Detail

      • JCacheEntry

        public JCacheEntry​(K key,
                           V value)
    • Method Detail

      • 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>