eXo Kernel :: Cache Extension :: JBoss Cache Implementation 2.4.3-GA

org.exoplatform.services.cache.impl.jboss
Interface ExoCacheCreator

All Known Implementing Classes:
AbstractExoCacheCreator, EAExoCacheCreator, FIFOExoCacheCreator, LFUExoCacheCreator, LRUExoCacheCreator, MRUExoCacheCreator

public interface ExoCacheCreator

This class is used to create the cache according to the given configuration ExoCacheConfig Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com 20 juil. 2009


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.
 

Method Detail

create

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 apply
cache - the cache to initialize
Throws:
ExoCacheInitException - if an exception happens while initializing the cache

getExpectedConfigType

Class<? extends ExoCacheConfig> getExpectedConfigType()
Returns the type of ExoCacheConfig expected by the creator

Returns:
the expected type

getExpectedImplementation

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

eXo Kernel :: Cache Extension :: JBoss Cache Implementation 2.4.3-GA

Copyright © 2013 eXo Platform SAS. All Rights Reserved.