|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.cache.impl.jboss.lfu.LFUExoCacheCreator
public class LFUExoCacheCreator
The LFU Implementation of an ExoCacheCreator
Created by The eXo Platform SAS
Author : eXoPlatform
exo@exoplatform.com
21 juil. 2009
| Nested Class Summary | |
|---|---|
static class |
LFUExoCacheCreator.LFUExoCache
The LRU implementation of an ExoCache |
| Field Summary | |
|---|---|
protected int |
defaultMinNodes
The default value for the parameter maxAge |
static String |
EXPECTED_IMPL
The expected implementation name |
| Constructor Summary | |
|---|---|
LFUExoCacheCreator()
|
|
| Method Summary | |
|---|---|
ExoCache |
create(ExoCacheConfig config,
org.jboss.cache.TreeCache 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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EXPECTED_IMPL
protected int defaultMinNodes
| Constructor Detail |
|---|
public LFUExoCacheCreator()
| 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 Class<? extends ExoCacheConfig> getExpectedConfigType()
ExoCacheConfig expected by the creator
getExpectedConfigType in interface ExoCacheCreatorpublic String getExpectedImplementation()
getExpectedImplementation in interface ExoCacheCreator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||