public class EhCache3Wrapper extends AbstractBlockingCache implements BlockingCache
Constructor and Description |
---|
EhCache3Wrapper(String name,
CacheModule cacheModule,
int blockingTimeout,
org.ehcache.Cache ehcache) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
List<Object> |
getKeys() |
Object |
getQuiet(Object key) |
int |
getSize() |
org.ehcache.Cache |
getWrappedEhCache() |
protected void |
putQuiet(Object key,
Object value,
int timeToLiveInSeconds) |
void |
remove(Object key) |
get, getBlockingTimeout, getName, hasElement, put, put, unlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlockingTimeout, unlock
public EhCache3Wrapper(String name, CacheModule cacheModule, int blockingTimeout, org.ehcache.Cache ehcache)
public Object getQuiet(Object key)
getQuiet
in interface Cache
getQuiet
in class AbstractListeningCacheWrapper
protected void putQuiet(Object key, Object value, int timeToLiveInSeconds)
putQuiet
in class AbstractBlockingCache
public void remove(Object key)
remove
in interface Cache
remove
in class AbstractListeningCacheWrapper
public void clear()
clear
in interface Cache
clear
in class AbstractListeningCacheWrapper
public int getSize()
getSize
in interface Cache
getSize
in class AbstractListeningCacheWrapper
public org.ehcache.Cache getWrappedEhCache()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.