Class InfinispanRemoteConfiguration
- java.lang.Object
-
- org.apache.camel.component.infinispan.InfinispanConfiguration
-
- org.apache.camel.component.infinispan.remote.InfinispanRemoteConfiguration
-
-
Constructor Summary
Constructors Constructor Description InfinispanRemoteConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConfigurationProperty(String key, String value)Adds an implementation specific property for the CacheManagerInfinispanRemoteConfigurationclone()org.infinispan.client.hotrod.RemoteCacheManagergetCacheContainer()Specifies the cache Container to connectorg.infinispan.client.hotrod.configuration.ConfigurationgetCacheContainerConfiguration()Map<String,String>getConfigurationProperties()InfinispanRemoteCustomListenergetCustomListener()Returns the custom listener in use, if providedStringgetEventTypes()org.infinispan.client.hotrod.Flag[]getFlags()StringgetHosts()Specifies the host of the cache on Infinispan instanceStringgetPassword()StringgetSaslMechanism()StringgetSecurityRealm()StringgetSecurityServerName()StringgetUsername()booleanhasCustomListener()booleanhasFlags()booleanisSecure()voidsetCacheContainer(org.infinispan.client.hotrod.RemoteCacheManager cacheContainer)voidsetCacheContainerConfiguration(org.infinispan.client.hotrod.configuration.Configuration cacheContainerConfiguration)The CacheContainer configuration.voidsetConfigurationProperties(Map<String,String> configurationProperties)Implementation specific properties for the CacheManagervoidsetCustomListener(InfinispanRemoteCustomListener customListener)voidsetEventTypes(String eventTypes)Specifies the set of event types to register by the consumer.Multiple event can be separated by comma.voidsetFlags(String flagsAsString)A comma separated list of org.infinispan.client.hotrod.Flag to be applied by default on each cache invocation.voidsetFlags(org.infinispan.client.hotrod.Flag... flags)voidsetHosts(String hosts)voidsetPassword(String password)Define the password to access the infinispan instancevoidsetSaslMechanism(String saslMechanism)Define the SASL Mechanism to access the infinispan instancevoidsetSecure(boolean secure)Define if we are connecting to a secured Infinispan instancevoidsetSecurityRealm(String securityRealm)Define the security realm to access the infinispan instancevoidsetSecurityServerName(String securityServerName)Define the security server name to access the infinispan instancevoidsetUsername(String username)Define the username to access the infinispan instance-
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
-
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
-
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
-
getCustomListener
public InfinispanRemoteCustomListener getCustomListener()
Returns the custom listener in use, if provided
-
setCustomListener
public void setCustomListener(InfinispanRemoteCustomListener customListener)
-
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()
-
clone
public InfinispanRemoteConfiguration clone()
-
-