org.richfaces.cache
Class EhCacheCache
java.lang.Object
org.richfaces.cache.EhCacheCache
- All Implemented Interfaces:
- org.richfaces.cache.Cache
public class EhCacheCache
- extends Object
- implements org.richfaces.cache.Cache
- Since:
- 4.0
- Author:
- Nick Belaevski
Constructor Summary |
EhCacheCache(net.sf.ehcache.Ehcache cache,
boolean preconfiguredCache)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhCacheCache
public EhCacheCache(net.sf.ehcache.Ehcache cache,
boolean preconfiguredCache)
start
public void start()
- Specified by:
start
in interface org.richfaces.cache.Cache
stop
public void stop()
- Specified by:
stop
in interface org.richfaces.cache.Cache
get
public Object get(Object key)
- Specified by:
get
in interface org.richfaces.cache.Cache
put
public void put(Object key,
Object value,
Date expired)
- Specified by:
put
in interface org.richfaces.cache.Cache
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.