org.exoplatform.services.cache.impl.jboss.fifo
Class FIFOExoCacheCreator
java.lang.Object
org.exoplatform.services.cache.impl.jboss.AbstractExoCacheCreator
org.exoplatform.services.cache.impl.jboss.fifo.FIFOExoCacheCreator
- All Implemented Interfaces:
- ExoCacheCreator
public class FIFOExoCacheCreator
- extends AbstractExoCacheCreator
The FIFO Implementation of an ExoCacheCreator
Created by The eXo Platform SAS
Author : eXoPlatform
exo@exoplatform.com
20 juil. 2009
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXPECTED_IMPL
public static final String EXPECTED_IMPL
- The expected implementation name
- See Also:
- Constant Field Values
FIFOExoCacheCreator
public FIFOExoCacheCreator()
getExpectedImplementation
public String getExpectedImplementation()
- Returns the name of the implementation expected by the creator. This is mainly used to be backward compatible
- Returns:
- the expected by the creator
getExpectedConfigType
public Class<? extends ExoCacheConfig> getExpectedConfigType()
- Returns the type of
ExoCacheConfig expected by the creator
- Returns:
- the expected type
create
public ExoCache<Serializable,Object> create(ExoCacheConfig config,
org.jboss.cache.Cache<Serializable,Object> cache)
throws ExoCacheInitException
- Creates an eXo cache according to the given configuration
ExoCacheConfig
- Parameters:
config - the configuration of the cache to applycache - the cache to initialize
- Throws:
ExoCacheInitException - if an exception happens while initializing the cache
Copyright © 2013 eXo Platform SAS. All Rights Reserved.