Class InfinispanRemoteConfiguration

  • All Implemented Interfaces:
    Cloneable

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

      • InfinispanRemoteConfiguration

        public InfinispanRemoteConfiguration()
    • Method Detail

      • getCacheContainerConfiguration

        public org.infinispan.client.hotrod.configuration.Configuration getCacheContainerConfiguration()
      • setCacheContainerConfiguration

        public void setCacheContainerConfiguration​(org.infinispan.client.hotrod.configuration.Configuration cacheContainerConfiguration)
        The CacheContainer configuration. Used if the cacheContainer is not defined.
      • getCacheContainer

        public org.infinispan.client.hotrod.RemoteCacheManager getCacheContainer()
        Specifies the cache Container to connect
      • setCacheContainer

        public void setCacheContainer​(org.infinispan.client.hotrod.RemoteCacheManager cacheContainer)
      • getHosts

        public String getHosts()
        Specifies the host of the cache on Infinispan instance
      • setHosts

        public void setHosts​(String hosts)
      • isSecure

        public boolean isSecure()
      • setSecure

        public void setSecure​(boolean secure)
        Define if we are connecting to a secured Infinispan instance
      • getUsername

        public String getUsername()
      • setUsername

        public void setUsername​(String username)
        Define the username to access the infinispan instance
      • getPassword

        public String getPassword()
      • setPassword

        public void setPassword​(String password)
        Define the password to access the infinispan instance
      • getSaslMechanism

        public String getSaslMechanism()
      • setSaslMechanism

        public void setSaslMechanism​(String saslMechanism)
        Define the SASL Mechanism to access the infinispan instance
      • getSecurityRealm

        public String getSecurityRealm()
      • setSecurityRealm

        public void setSecurityRealm​(String securityRealm)
        Define the security realm to access the infinispan instance
      • getSecurityServerName

        public String getSecurityServerName()
      • setSecurityServerName

        public void setSecurityServerName​(String securityServerName)
        Define the security server name to access the infinispan instance
      • getConfigurationProperties

        public Map<String,​String> getConfigurationProperties()
      • setConfigurationProperties

        public void setConfigurationProperties​(Map<String,​String> configurationProperties)
        Implementation specific properties for the CacheManager
      • addConfigurationProperty

        public void addConfigurationProperty​(String key,
                                             String value)
        Adds an implementation specific property for the CacheManager
      • 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: CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER

      • hasCustomListener

        public boolean hasCustomListener()
      • getFlags

        public org.infinispan.client.hotrod.Flag[] getFlags()
      • setFlags

        public void setFlags​(String flagsAsString)
        A comma separated list of org.infinispan.client.hotrod.Flag to be applied by default on each cache invocation.
      • setFlags

        public void setFlags​(org.infinispan.client.hotrod.Flag... flags)
      • hasFlags

        public boolean hasFlags()