Class Configuration
- java.lang.Object
-
- org.infinispan.client.hotrod.configuration.Configuration
-
public class Configuration extends Object
Configuration.- Since:
- 5.3
- Author:
- Tristan Tarrant
-
-
Constructor Summary
Constructors Constructor Description Configuration(ExecutorFactoryConfiguration asyncExecutorFactory, Supplier<FailoverRequestBalancingStrategy> balancingStrategyFactory, ClassLoader classLoader, ClientIntelligence clientIntelligence, ConnectionPoolConfiguration connectionPool, int connectionTimeout, Class<? extends org.infinispan.client.hotrod.impl.consistenthash.ConsistentHash>[] consistentHashImpl, boolean forceReturnValues, int keySizeEstimate, Marshaller marshaller, Class<? extends Marshaller> marshallerClass, ProtocolVersion protocolVersion, List<ServerConfiguration> servers, int socketTimeout, SecurityConfiguration security, boolean tcpNoDelay, boolean tcpKeepAlive, int valueSizeEstimate, int maxRetries, NearCacheConfiguration nearCache, List<ClusterConfiguration> clusters, List<String> serialWhitelist, int batchSize, TransactionConfiguration transaction, StatisticsConfiguration statistics, Features features, List<org.infinispan.protostream.SerializationContextInitializer> contextInitializers, Map<String,RemoteCacheConfiguration> remoteCaches)
-
Method Summary
-
-
-
Constructor Detail
-
Configuration
public Configuration(ExecutorFactoryConfiguration asyncExecutorFactory, Supplier<FailoverRequestBalancingStrategy> balancingStrategyFactory, ClassLoader classLoader, ClientIntelligence clientIntelligence, ConnectionPoolConfiguration connectionPool, int connectionTimeout, Class<? extends org.infinispan.client.hotrod.impl.consistenthash.ConsistentHash>[] consistentHashImpl, boolean forceReturnValues, int keySizeEstimate, Marshaller marshaller, Class<? extends Marshaller> marshallerClass, ProtocolVersion protocolVersion, List<ServerConfiguration> servers, int socketTimeout, SecurityConfiguration security, boolean tcpNoDelay, boolean tcpKeepAlive, int valueSizeEstimate, int maxRetries, NearCacheConfiguration nearCache, List<ClusterConfiguration> clusters, List<String> serialWhitelist, int batchSize, TransactionConfiguration transaction, StatisticsConfiguration statistics, Features features, List<org.infinispan.protostream.SerializationContextInitializer> contextInitializers, Map<String,RemoteCacheConfiguration> remoteCaches)
-
-
Method Detail
-
asyncExecutorFactory
public ExecutorFactoryConfiguration asyncExecutorFactory()
-
balancingStrategyFactory
public Supplier<FailoverRequestBalancingStrategy> balancingStrategyFactory()
-
classLoader
@Deprecated public ClassLoader classLoader()
Deprecated.
-
clientIntelligence
public ClientIntelligence clientIntelligence()
-
connectionPool
public ConnectionPoolConfiguration connectionPool()
-
connectionTimeout
public int connectionTimeout()
-
consistentHashImpl
public Class<? extends org.infinispan.client.hotrod.impl.consistenthash.ConsistentHash>[] consistentHashImpl()
-
consistentHashImpl
public Class<? extends org.infinispan.client.hotrod.impl.consistenthash.ConsistentHash> consistentHashImpl(int version)
-
forceReturnValues
public boolean forceReturnValues()
-
keySizeEstimate
public int keySizeEstimate()
-
marshaller
public Marshaller marshaller()
-
marshallerClass
public Class<? extends Marshaller> marshallerClass()
-
nearCache
@Deprecated public NearCacheConfiguration nearCache()
Deprecated.
-
version
public ProtocolVersion version()
-
servers
public List<ServerConfiguration> servers()
-
clusters
public List<ClusterConfiguration> clusters()
-
socketTimeout
public int socketTimeout()
-
security
public SecurityConfiguration security()
-
tcpNoDelay
public boolean tcpNoDelay()
-
tcpKeepAlive
public boolean tcpKeepAlive()
-
valueSizeEstimate
public int valueSizeEstimate()
-
maxRetries
public int maxRetries()
-
getClassWhiteList
public ClassWhiteList getClassWhiteList()
-
batchSize
public int batchSize()
-
remoteCaches
public Map<String,RemoteCacheConfiguration> remoteCaches()
-
statistics
public StatisticsConfiguration statistics()
-
transaction
public TransactionConfiguration transaction()
-
features
public Features features()
-
getContextInitializers
public List<org.infinispan.protostream.SerializationContextInitializer> getContextInitializers()
-
toString
public String toString()
-
properties
public Properties properties()
-
-