Class InfinispanEmbeddedConfiguration

  • All Implemented Interfaces:
    Cloneable

    @UriParams
    public class InfinispanEmbeddedConfiguration
    extends org.apache.camel.component.infinispan.InfinispanConfiguration
    implements Cloneable
    • Constructor Detail

      • InfinispanEmbeddedConfiguration

        public InfinispanEmbeddedConfiguration()
    • 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

      • 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()