public class InfinispanEmbeddedManager
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.component.infinispan.InfinispanManager<org.infinispan.manager.EmbeddedCacheManager>
| Constructor and Description |
|---|
InfinispanEmbeddedManager() |
InfinispanEmbeddedManager(org.apache.camel.CamelContext camelContext,
InfinispanEmbeddedConfiguration configuration) |
InfinispanEmbeddedManager(InfinispanEmbeddedConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
doStart() |
void |
doStop() |
<K,V> org.infinispan.commons.api.BasicCache<K,V> |
getCache() |
<K,V> org.infinispan.commons.api.BasicCache<K,V> |
getCache(org.apache.camel.Message message,
String defaultCache) |
<K,V> org.infinispan.commons.api.BasicCache<K,V> |
getCache(String cacheName) |
org.infinispan.manager.EmbeddedCacheManager |
getCacheContainer() |
Set<String> |
getCacheNames() |
org.apache.camel.CamelContext |
getCamelContext() |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCache, getCache, getCache, getCachepublic InfinispanEmbeddedManager()
public InfinispanEmbeddedManager(InfinispanEmbeddedConfiguration configuration)
public InfinispanEmbeddedManager(org.apache.camel.CamelContext camelContext,
InfinispanEmbeddedConfiguration configuration)
public org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic void doStart()
throws Exception
doStart in class org.apache.camel.support.service.BaseServiceExceptionpublic void doStop()
throws Exception
doStop in class org.apache.camel.support.service.BaseServiceExceptionpublic org.infinispan.manager.EmbeddedCacheManager getCacheContainer()
getCacheContainer in interface org.apache.camel.component.infinispan.InfinispanManager<org.infinispan.manager.EmbeddedCacheManager>public <K,V> org.infinispan.commons.api.BasicCache<K,V> getCache()
getCache in interface org.infinispan.commons.api.BasicCacheContainerpublic <K,V> org.infinispan.commons.api.BasicCache<K,V> getCache(String cacheName)
getCache in interface org.apache.camel.component.infinispan.InfinispanManager<org.infinispan.manager.EmbeddedCacheManager>getCache in interface org.infinispan.commons.api.BasicCacheContainerpublic <K,V> org.infinispan.commons.api.BasicCache<K,V> getCache(org.apache.camel.Message message,
String defaultCache)
getCache in interface org.apache.camel.component.infinispan.InfinispanManager<org.infinispan.manager.EmbeddedCacheManager>Apache Camel