Class InfinispanEmbeddedConfiguration
- java.lang.Object
-
- org.apache.camel.component.infinispan.InfinispanConfiguration
-
- org.apache.camel.component.infinispan.embedded.InfinispanEmbeddedConfiguration
-
-
Constructor Summary
Constructors Constructor Description InfinispanEmbeddedConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InfinispanEmbeddedConfiguration
clone()
org.infinispan.manager.EmbeddedCacheManager
getCacheContainer()
Specifies the cache Container to connectorg.infinispan.configuration.cache.Configuration
getCacheContainerConfiguration()
InfinispanEmbeddedCustomListener
getCustomListener()
Returns the custom listener in use, if providedString
getEventTypes()
org.infinispan.context.Flag[]
getFlags()
boolean
hasCustomListener()
boolean
hasFlags()
boolean
isClusteredListener()
If true, the listener will be installed for the entire clusterboolean
isSync()
If true, the consumer will receive notifications synchronouslyvoid
setCacheContainer(org.infinispan.manager.EmbeddedCacheManager cacheContainer)
void
setCacheContainerConfiguration(org.infinispan.configuration.cache.Configuration cacheContainerConfiguration)
The CacheContainer configuration.void
setClusteredListener(boolean clusteredListener)
void
setCustomListener(InfinispanEmbeddedCustomListener customListener)
void
setEventTypes(String eventTypes)
Specifies the set of event types to register by the consumer.Multiple event can be separated by comma.void
setFlags(String flagsAsString)
A comma separated list of org.infinispan.context.Flag to be applied by default on each cache invocationvoid
setFlags(org.infinispan.context.Flag... flags)
void
setSync(boolean sync)
-
Methods inherited from class org.apache.camel.component.infinispan.InfinispanConfiguration
getConfigurationUri, getDefaultValue, getKey, getOldValue, getOperation, getOperationOrDefault, getQueryBuilder, getRemappingFunction, getResultHeader, getValue, hasQueryBuilder, setConfigurationUri, setDefaultValue, setKey, setOldValue, setOperation, setQueryBuilder, setRemappingFunction, setResultHeader, setValue
-
-
-
-
Method Detail
-
getCacheContainer
public org.infinispan.manager.EmbeddedCacheManager getCacheContainer()
Specifies the cache Container to connect
-
setCacheContainer
public void setCacheContainer(org.infinispan.manager.EmbeddedCacheManager cacheContainer)
-
getCacheContainerConfiguration
public org.infinispan.configuration.cache.Configuration getCacheContainerConfiguration()
-
setCacheContainerConfiguration
public void setCacheContainerConfiguration(org.infinispan.configuration.cache.Configuration cacheContainerConfiguration)
The CacheContainer configuration. Used if the cacheContainer is not defined.
-
isSync
public boolean isSync()
If true, the consumer will receive notifications synchronously
-
setSync
public void setSync(boolean sync)
-
isClusteredListener
public boolean isClusteredListener()
If true, the listener will be installed for the entire cluster
-
setClusteredListener
public void setClusteredListener(boolean clusteredListener)
-
getEventTypes
public String getEventTypes()
-
setEventTypes
public void setEventTypes(String eventTypes)
Specifies the set of event types to register by the consumer.Multiple event can be separated by comma. The possible event types are: CACHE_ENTRY_ACTIVATED, CACHE_ENTRY_PASSIVATED, CACHE_ENTRY_VISITED, CACHE_ENTRY_LOADED, CACHE_ENTRY_EVICTED, CACHE_ENTRY_CREATED, CACHE_ENTRY_REMOVED, CACHE_ENTRY_MODIFIED, TRANSACTION_COMPLETED, TRANSACTION_REGISTERED, CACHE_ENTRY_INVALIDATED, CACHE_ENTRY_EXPIRED, DATA_REHASHED, TOPOLOGY_CHANGED, PARTITION_STATUS_CHANGED, PERSISTENCE_AVAILABILITY_CHANGED
-
getCustomListener
public InfinispanEmbeddedCustomListener getCustomListener()
Returns the custom listener in use, if provided
-
setCustomListener
public void setCustomListener(InfinispanEmbeddedCustomListener customListener)
-
hasCustomListener
public boolean hasCustomListener()
-
getFlags
public org.infinispan.context.Flag[] getFlags()
-
setFlags
public void setFlags(String flagsAsString)
A comma separated list of org.infinispan.context.Flag to be applied by default on each cache invocation
-
setFlags
public void setFlags(org.infinispan.context.Flag... flags)
-
hasFlags
public boolean hasFlags()
-
clone
public InfinispanEmbeddedConfiguration clone()
-
-