K - V - @Deprecated public class EhCache<K,V> extends Object implements Cache<K,V>
| Modifier and Type | Class and Description |
|---|---|
class |
EhCache.MapEntry
Deprecated.
|
| Constructor and Description |
|---|
EhCache()
Deprecated.
|
EhCache(net.sf.ehcache.Cache ehCache)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
|
boolean |
containsKey(Object arg0)
Deprecated.
|
boolean |
containsValue(Object arg0)
Deprecated.
|
Set<Map.Entry<K,V>> |
entrySet()
Deprecated.
|
V |
get(Object key)
Deprecated.
|
net.sf.ehcache.Cache |
getCache()
Deprecated.
|
CacheElement<V> |
getElement(K key)
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
Set<K> |
keySet()
Deprecated.
|
V |
put(K key,
CacheElement<V> element)
Deprecated.
|
V |
put(K key,
V value)
Deprecated.
Short verision of put(K key, CacheElement
|
void |
putAll(Map<? extends K,? extends V> arg0)
Deprecated.
|
V |
remove(Object arg0)
Deprecated.
|
void |
setCache(net.sf.ehcache.Cache cache)
Deprecated.
|
int |
size()
Deprecated.
|
Collection<V> |
values()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic EhCache()
public EhCache(net.sf.ehcache.Cache ehCache)
public CacheElement<V> getElement(K key)
getElement in interface Cache<K,V>public V put(K key, CacheElement<V> element)
public V put(K key, V value)
Cachepublic boolean containsKey(Object arg0)
containsKey in interface Map<K,V>public boolean containsValue(Object arg0)
containsValue in interface Map<K,V>public net.sf.ehcache.Cache getCache()
public void setCache(net.sf.ehcache.Cache cache)
Copyright © 2019. All rights reserved.