public class EhcacheManager extends Object implements org.apache.camel.Service
Constructor and Description |
---|
EhcacheManager(org.ehcache.CacheManager cacheManager) |
EhcacheManager(org.ehcache.CacheManager cacheManager,
boolean managed) |
EhcacheManager(EhcacheConfiguration configuration) |
public EhcacheManager(EhcacheConfiguration configuration) throws IOException
IOException
public EhcacheManager(org.ehcache.CacheManager cacheManager)
public EhcacheManager(org.ehcache.CacheManager cacheManager, boolean managed)
public void start() throws Exception
start
in interface org.apache.camel.Service
Exception
public void stop() throws Exception
stop
in interface org.apache.camel.Service
Exception
public <K,V> org.ehcache.Cache<K,V> getCache(String name, Class<K> keyType, Class<V> valueType) throws Exception
Exception
Apache Camel