Class InfinispanEmbeddedConfiguration
java.lang.Object
org.apache.camel.component.infinispan.InfinispanConfiguration
org.apache.camel.component.infinispan.embedded.InfinispanEmbeddedConfiguration
- All Implemented Interfaces:
Cloneable
@UriParams
public class InfinispanEmbeddedConfiguration
extends org.apache.camel.component.infinispan.InfinispanConfiguration
implements Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
org.infinispan.manager.EmbeddedCacheManager
Specifies the cache Container to connectorg.infinispan.configuration.cache.Configuration
Returns the custom listener in use, if providedorg.infinispan.context.Flag[]
getFlags()
boolean
boolean
hasFlags()
boolean
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
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
-
Constructor Details
-
InfinispanEmbeddedConfiguration
public InfinispanEmbeddedConfiguration()
-
-
Method Details
-
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
-
setEventTypes
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
Returns the custom listener in use, if provided -
setCustomListener
-
hasCustomListener
public boolean hasCustomListener() -
getFlags
public org.infinispan.context.Flag[] getFlags() -
setFlags
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
-