|
eXo Kernel :: Cache Extension :: JBoss Cache Implementation 2.4.4-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.cache.impl.jboss.AbstractExoCacheCreator
org.exoplatform.services.cache.impl.jboss.lru.LRUExoCacheCreator
public class LRUExoCacheCreator
The LRU Implementation of an ExoCacheCreator
Created by The eXo Platform SAS
Author : eXoPlatform
exo@exoplatform.com
21 juil. 2009
| Nested Class Summary | |
|---|---|
static class |
LRUExoCacheCreator.LRUExoCache
The LRU implementation of an ExoCache |
| Field Summary | |
|---|---|
protected long |
defaultMaxAge
The default value for the parameter maxAge |
protected long |
defaultTimeToLive
The default value for the parameter timeToLive |
static String |
EXPECTED_IMPL
The expected implementation name |
| Constructor Summary | |
|---|---|
LRUExoCacheCreator()
|
|
| Method Summary | |
|---|---|
ExoCache<Serializable,Object> |
create(ExoCacheConfig config,
org.jboss.cache.Cache<Serializable,Object> cache)
Creates an eXo cache according to the given configuration ExoCacheConfig |
Class<? extends ExoCacheConfig> |
getExpectedConfigType()
Returns the type of ExoCacheConfig expected by the creator |
String |
getExpectedImplementation()
Returns the name of the implementation expected by the creator. |
| Methods inherited from class org.exoplatform.services.cache.impl.jboss.AbstractExoCacheCreator |
|---|
addEvictionRegion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EXPECTED_IMPL
protected long defaultTimeToLive
protected long defaultMaxAge
| Constructor Detail |
|---|
public LRUExoCacheCreator()
| Method Detail |
|---|
public ExoCache<Serializable,Object> create(ExoCacheConfig config,
org.jboss.cache.Cache<Serializable,Object> cache)
throws ExoCacheInitException
ExoCacheConfig
config - the configuration of the cache to applycache - the cache to initialize
ExoCacheInitException - if an exception happens while initializing the cachepublic Class<? extends ExoCacheConfig> getExpectedConfigType()
ExoCacheConfig expected by the creator
public String getExpectedImplementation()
|
eXo Kernel :: Cache Extension :: JBoss Cache Implementation 2.4.4-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||