org.infinispan.jcache
Class JCacheEntry<K,V>

java.lang.Object
  extended by 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.

Since:
5.3
Author:
Vladimir Blagojevic, Galder ZamarreƱo

Field Summary
protected  K key
           
protected  V value
           
 
Constructor Summary
JCacheEntry(K key, V value)
           
 
Method Summary
 K getKey()
           
 V getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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>

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.