Constructor and Description |
---|
InfinispanConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addConfigurationProperty(String key,
String value)
Adds an implementation specific property for the CacheManager
|
InfinispanConfiguration |
copy() |
org.infinispan.commons.api.BasicCacheContainer |
getCacheContainer()
Specifies the cache Container to connect
|
Object |
getCacheContainerConfiguration() |
String |
getCommand() |
Map<String,String> |
getConfigurationProperties() |
String |
getConfigurationUri()
An implementation specific URI for the CacheManager
|
InfinispanCustomListener |
getCustomListener()
Returns the custom listener in use, if provided
|
Set<String> |
getEventTypes() |
org.infinispan.context.Flag[] |
getFlags() |
String |
getHosts()
Specifies the host of the cache on Infinispan instance
|
InfinispanOperation |
getOperation() |
InfinispanOperation |
getOperationOrDefault() |
String |
getPassword() |
InfinispanQueryBuilder |
getQueryBuilder() |
Object |
getResultHeader() |
String |
getSaslMechanism() |
String |
getSecurityRealm() |
String |
getSecurityServerName() |
String |
getUsername() |
boolean |
hasCustomListener() |
boolean |
hasFlags() |
boolean |
hasQueryBuilder() |
boolean |
isClusteredListener()
If true, the listener will be installed for the entire cluster
|
boolean |
isSecure() |
boolean |
isSync()
If true, the consumer will receive notifications synchronously
|
void |
setCacheContainer(org.infinispan.commons.api.BasicCacheContainer cacheContainer) |
void |
setCacheContainerConfiguration(Object cacheContainerConfiguration)
The CacheContainer configuration.
|
void |
setClusteredListener(boolean clusteredListener) |
void |
setCommand(String command)
Deprecated.
replaced by @{link setOperation}
|
void |
setConfigurationProperties(Map<String,String> configurationProperties)
Implementation specific properties for the CacheManager
|
void |
setConfigurationUri(String configurationUri) |
void |
setCustomListener(InfinispanCustomListener customListener) |
void |
setEventTypes(Set<String> eventTypes)
Specifies the set of event types to register by the consumer.
|
void |
setEventTypes(String eventTypes)
Specifies the set of event types to register by the consumer.
|
void |
setFlags(org.infinispan.context.Flag... flags) |
void |
setFlags(String flagsAsString)
A comma separated list of Flag to be applied by default on each cache
invocation, not applicable to remote caches.
|
void |
setHosts(String hosts) |
void |
setOperation(InfinispanOperation operation)
The operation to perform.
|
void |
setPassword(String password)
Define the password to access the infinispan instance
|
void |
setQueryBuilder(InfinispanQueryBuilder queryBuilder)
Specifies the query builder.
|
void |
setResultHeader(Object resultHeader)
Store the operation result in a header instead of the message body.
|
void |
setSaslMechanism(String saslMechanism)
Define the SASL Mechanism to access the infinispan instance
|
void |
setSecure(boolean secure)
Define if we are connecting to a secured Infinispan instance
|
void |
setSecurityRealm(String securityRealm)
Define the security realm to access the infinispan instance
|
void |
setSecurityServerName(String securityServerName)
Define the security server name to access the infinispan instance
|
void |
setSync(boolean sync) |
void |
setUsername(String username)
Define the username to access the infinispan instance
|
public String getCommand()
@Deprecated public void setCommand(String command)
public InfinispanOperation getOperation()
public void setOperation(InfinispanOperation operation)
public InfinispanOperation getOperationOrDefault()
public String getHosts()
public void setHosts(String hosts)
public org.infinispan.commons.api.BasicCacheContainer getCacheContainer()
public void setCacheContainer(org.infinispan.commons.api.BasicCacheContainer cacheContainer)
public boolean isSync()
public void setSync(boolean sync)
public boolean isClusteredListener()
public void setClusteredListener(boolean clusteredListener)
public void setEventTypes(Set<String> eventTypes)
public void setEventTypes(String eventTypes)
public InfinispanCustomListener getCustomListener()
public void setCustomListener(InfinispanCustomListener customListener)
public boolean hasCustomListener()
public InfinispanQueryBuilder getQueryBuilder()
public void setQueryBuilder(InfinispanQueryBuilder queryBuilder)
public boolean hasQueryBuilder()
public org.infinispan.context.Flag[] getFlags()
public void setFlags(String flagsAsString)
public void setFlags(org.infinispan.context.Flag... flags)
public boolean hasFlags()
public String getConfigurationUri()
public void setConfigurationUri(String configurationUri)
public void setConfigurationProperties(Map<String,String> configurationProperties)
public void addConfigurationProperty(String key, String value)
public Object getCacheContainerConfiguration()
public void setCacheContainerConfiguration(Object cacheContainerConfiguration)
public InfinispanConfiguration copy()
public Object getResultHeader()
public void setResultHeader(Object resultHeader)
public boolean isSecure()
public void setSecure(boolean secure)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getSaslMechanism()
public void setSaslMechanism(String saslMechanism)
public String getSecurityRealm()
public void setSecurityRealm(String securityRealm)
public String getSecurityServerName()
public void setSecurityServerName(String securityServerName)
Apache Camel