Class InfinispanRemoteConfiguration
java.lang.Object
org.apache.camel.component.infinispan.InfinispanConfiguration
org.apache.camel.component.infinispan.remote.InfinispanRemoteConfiguration
- All Implemented Interfaces:
Cloneable
@UriParams
public class InfinispanRemoteConfiguration
extends org.apache.camel.component.infinispan.InfinispanConfiguration
implements Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConfigurationProperty(String key, String value) Adds an implementation specific property for the CacheManagerclone()org.infinispan.client.hotrod.RemoteCacheManagerSpecifies the cache Container to connectorg.infinispan.client.hotrod.configuration.ConfigurationReturns the custom listener in use, if providedorg.infinispan.client.hotrod.Flag[]getFlags()getHosts()Specifies the host of the cache on Infinispan instancebooleanbooleanhasFlags()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.voidA 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) voidvoidsetPassword(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 instanceMethods 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
-
InfinispanRemoteConfiguration
public InfinispanRemoteConfiguration()
-
-
Method Details
-
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
Specifies the host of the cache on Infinispan instance -
setHosts
-
isSecure
public boolean isSecure() -
setSecure
public void setSecure(boolean secure) Define if we are connecting to a secured Infinispan instance -
getUsername
-
setUsername
Define the username to access the infinispan instance -
getPassword
-
setPassword
Define the password to access the infinispan instance -
getSaslMechanism
-
setSaslMechanism
Define the SASL Mechanism to access the infinispan instance -
getSecurityRealm
-
setSecurityRealm
Define the security realm to access the infinispan instance -
getSecurityServerName
-
setSecurityServerName
Define the security server name to access the infinispan instance -
getConfigurationProperties
-
setConfigurationProperties
Implementation specific properties for the CacheManager -
addConfigurationProperty
Adds an implementation specific property for the CacheManager -
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: CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER -
getCustomListener
Returns the custom listener in use, if provided -
setCustomListener
-
hasCustomListener
public boolean hasCustomListener() -
getFlags
public org.infinispan.client.hotrod.Flag[] getFlags() -
setFlags
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
-