Class HotRodConfiguration
java.lang.Object
org.infinispan.commons.configuration.attributes.ConfigurationElement<HotRodConfiguration>
org.infinispan.hotrod.configuration.HotRodConfiguration
- All Implemented Interfaces:
org.infinispan.api.configuration.Configuration,org.infinispan.commons.configuration.attributes.Matchable<HotRodConfiguration>,org.infinispan.commons.configuration.attributes.Updatable<HotRodConfiguration>
public class HotRodConfiguration
extends org.infinispan.commons.configuration.attributes.ConfigurationElement<HotRodConfiguration>
implements org.infinispan.api.configuration.Configuration
Configuration.
- Since:
- 14.0
-
Field Summary
Fields inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, CHILDLESS, children, element, repeated -
Method Summary
Modifier and TypeMethodDescriptionaddRemoteCache(String name, Consumer<RemoteCacheConfigurationBuilder> builderConsumer) Create a newRemoteCacheConfiguration.intclusters()intClass<? extends ConsistentHash>[]Class<? extends ConsistentHash> consistentHashImpl(int version) intintintorg.infinispan.commons.util.Featuresfeatures()booleanorg.infinispan.commons.configuration.ClassAllowListList<org.infinispan.protostream.SerializationContextInitializer> org.infinispan.commons.marshall.MarshallerClass<? extends org.infinispan.commons.marshall.Marshaller> intvoidremoveRemoteCache(String name) Remove aRemoteCacheConfigurationfrom thisHotRodConfiguration.security()String[]servers()intbooleanbooleanbooleanOpenTelemetry tracing propagation will be activated if this property is true and if the OpenTelemetry API jar is detected on the classpath.longversion()Methods inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, child, children, children, elementName, equals, findAttribute, hashCode, isModified, list, matches, toString, update, validateUpdate, write
-
Method Details
-
asyncExecutorFactory
-
balancingStrategyFactory
-
clientIntelligence
-
connectionPool
-
connectionTimeout
public int connectionTimeout() -
consistentHashImpl
-
consistentHashImpl
-
dnsResolverMinTTL
public int dnsResolverMinTTL() -
dnsResolverMaxTTL
public int dnsResolverMaxTTL() -
dnsResolverNegativeTTL
public int dnsResolverNegativeTTL() -
forceReturnValues
public boolean forceReturnValues() -
marshaller
public org.infinispan.commons.marshall.Marshaller marshaller() -
marshallerClass
-
version
-
servers
-
clusters
-
socketTimeout
public int socketTimeout() -
security
-
tcpNoDelay
public boolean tcpNoDelay() -
tcpKeepAlive
public boolean tcpKeepAlive() -
maxRetries
public int maxRetries() -
serialAllowList
-
getClassAllowList
public org.infinispan.commons.configuration.ClassAllowList getClassAllowList() -
batchSize
public int batchSize() -
remoteCaches
-
addRemoteCache
public RemoteCacheConfiguration addRemoteCache(String name, Consumer<RemoteCacheConfigurationBuilder> builderConsumer) Create a newRemoteCacheConfiguration. This can be used to create additional configurations after the client has been initialized.- Parameters:
name- the name of the cache configuration to createbuilderConsumer- aConsumerwhich receives aRemoteCacheConfigurationBuilderand can apply the necessary configurations on it.- Returns:
- the
RemoteCacheConfiguration - Throws:
IllegalArgumentException- if a cache configuration with the same name already exists
-
removeRemoteCache
Remove aRemoteCacheConfigurationfrom thisHotRodConfiguration. If the cache configuration doesn't exist, this method has no effect.- Parameters:
name- the name of theRemoteCacheConfigurationto remove.
-
statistics
-
transactionTimeout
public long transactionTimeout() -
features
public org.infinispan.commons.util.Features features() -
getContextInitializers
-
transportFactory
-
tracingPropagationEnabled
public boolean tracingPropagationEnabled()OpenTelemetry tracing propagation will be activated if this property is true and if the OpenTelemetry API jar is detected on the classpath. By default, the property is true.- Returns:
- if the tracing propagation is enabled
-