public class CacheElement<K,V> extends Object implements ICacheElement<K,V>
| Constructor and Description |
|---|
CacheElement(String cacheName,
K key,
V val)
Constructor for the CacheElement object
|
CacheElement(String cacheName,
K key,
V val,
IElementAttributes attrArg)
Constructor for the CacheElement object
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCacheName()
Gets the cacheName attribute of the CacheElement object
|
IElementAttributes |
getElementAttributes()
Gets the IElementAttributes attribute of the CacheElement object
|
K |
getKey()
Gets the key attribute of the CacheElement object
|
V |
getVal()
Gets the val attribute of the CacheElement object
|
int |
hashCode() |
void |
setElementAttributes(IElementAttributes attr)
Sets the attributes attribute of the CacheElement object
|
String |
toString()
For debugging only.
|
public CacheElement(String cacheName, K key, V val)
cacheName - key - val - public CacheElement(String cacheName, K key, V val, IElementAttributes attrArg)
cacheName - key - val - attrArg - public String getCacheName()
getCacheName in interface ICacheElement<K,V>public K getKey()
getKey in interface ICacheElement<K,V>public V getVal()
getVal in interface ICacheElement<K,V>public void setElementAttributes(IElementAttributes attr)
setElementAttributes in interface ICacheElement<K,V>attr - The new IElementAttributes valuepublic IElementAttributes getElementAttributes()
getElementAttributes in interface ICacheElement<K,V>Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.