|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 int |
defaultMaxAgeSeconds
The default value for the parameter maxAge in seconds |
static java.lang.String |
EXPECTED_IMPL
The expected implementation name |
| Constructor Summary | |
|---|---|
LRUExoCacheCreator()
|
|
| Method Summary | |
|---|---|
ExoCache |
create(ExoCacheConfig config,
org.jboss.cache.TreeCache cache)
Creates an eXo cache according to the given configuration ExoCacheConfig |
java.lang.Class<? extends ExoCacheConfig> |
getExpectedConfigType()
Returns the type of ExoCacheConfig expected by the creator |
java.lang.String |
getExpectedImplementation()
Returns the name of the implementation expected by the creator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EXPECTED_IMPL
protected int defaultMaxAgeSeconds
| Constructor Detail |
|---|
public LRUExoCacheCreator()
| Method Detail |
|---|
public ExoCache create(ExoCacheConfig config,
org.jboss.cache.TreeCache cache)
throws ExoCacheInitException
ExoCacheConfig
create in interface ExoCacheCreatorconfig - the configuration of the cache to applycache - the cache to initialize
ExoCacheInitException - if an exception happens while initializing the cachepublic java.lang.Class<? extends ExoCacheConfig> getExpectedConfigType()
ExoCacheConfig expected by the creator
getExpectedConfigType in interface ExoCacheCreatorpublic java.lang.String getExpectedImplementation()
getExpectedImplementation in interface ExoCacheCreator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||