public interface ExoCacheCreator
ExoCacheConfig| Modifier and Type | Method and Description |
|---|---|
ExoCache<Serializable,Object> |
create(ExoCacheConfig config,
org.infinispan.configuration.cache.ConfigurationBuilder confBuilder,
Callable<org.infinispan.Cache<Serializable,Object>> cacheGetter)
Creates an eXo cache according to the given configuration
ExoCacheConfig |
Class<? extends ExoCacheConfig> |
getExpectedConfigType()
Returns the type of
ExoCacheConfig expected by the creator |
Set<String> |
getExpectedImplementations()
Returns a set of all the implementations expected by the creator.
|
ExoCache<Serializable,Object> create(ExoCacheConfig config, org.infinispan.configuration.cache.ConfigurationBuilder confBuilder, Callable<org.infinispan.Cache<Serializable,Object>> cacheGetter) throws ExoCacheInitException
ExoCacheConfigconfig - the configuration of the cache to applyconfBuilder - the configuration builder of the infinispan cachecacheGetter - a Callable instance from which we can get the cacheExoCacheInitException - if an exception happens while initializing the cacheClass<? extends ExoCacheConfig> getExpectedConfigType()
ExoCacheConfig expected by the creatorCopyright © 2014 eXo Platform SAS. All Rights Reserved.