Class ConfigurationProperties
java.lang.Object
org.infinispan.client.hotrod.impl.ConfigurationProperties
Encapsulate all config properties here
- Version:
- 4.1
- Author:
- Manik Surtani
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final Pattern
static final Pattern
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final int
static final int
static final String
static final String
static final String
static final int
static final int
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0static final int
static final int
static final int
static final int
static final long
static final int
static final int
static final boolean
static final int
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0static final String
static final String
static final String
static final String
static final String
static final String
static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
static final String
static final String
static final String
static final String
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final Pattern
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0 -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
long
int
int
boolean
void
void
int
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0int
int
Deprecated, for removal: This API element is subject to removal in a future version.int
boolean
boolean
int
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0 and will be removed in 15.0getURI()
boolean
boolean
int
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0int
boolean
isJmx()
boolean
boolean
static boolean
Is version previous to, and not including, 1.2?void
setAuthPassword
(String authPassword) void
setAuthRealm
(String authRealm) void
setAuthServerName
(String authServerName) void
setAuthToken
(String authToken) void
setAuthUsername
(String authUsername) void
setBatchSize
(int batchSize) void
setClientIntelligence
(String clientIntelligence) void
setConnectionPoolExhaustedAction
(String connectionPoolExhaustedAction) void
setConnectionPoolMaxActive
(int connectionPoolMaxActive) void
setConnectionPoolMaxPendingRequests
(int connectionPoolMaxPendingRequests) void
setConnectionPoolMaxWait
(long connectionPoolMaxWait) long
void
setConnectionPoolMinEvictableIdleTime
(long connectionPoolMinEvictableIdleTime) void
setConnectionPoolMinIdle
(int connectionPoolMinIdle) void
setConnectTimeout
(int connectTimeout) void
setContextInitializers
(String contextInitializers) void
setDefaultExecutorFactoryPoolSize
(int poolSize) void
setDefaultExecutorFactoryThreadNamePrefix
(String threadNamePrefix) void
setDefaultExecutorFactoryThreadNameSuffix
(String threadNameSuffix) void
setForceReturnValues
(boolean forceReturnValues) void
setJavaSerialAllowList
(String javaSerialAllowlist) void
setJavaSerialWhitelist
(String javaSerialWhitelist) Deprecated, for removal: This API element is subject to removal in a future version.UsesetJavaSerialAllowList(String)
instead.void
setJmx
(boolean jmx) void
setJmxDomain
(String jmxDomain) void
setJmxName
(String jmxName) void
setKeyAlias
(String keyAlias) void
setKeySizeEstimate
(int keySizeEstimate) Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0void
setKeyStoreFileName
(String keyStoreFileName) void
setKeyStorePassword
(String keyStorePassword) void
setKeyStoreType
(String keyStoreType) void
setMarshaller
(String marshaller) void
setMaxRetries
(int maxRetries) void
setNearCacheMaxEntries
(int nearCacheMaxEntries) void
setNearCacheMode
(String nearCacheMode) void
setNearCacheNamePattern
(String nearCacheNamePattern) Deprecated, for removal: This API element is subject to removal in a future version.void
setProtocolVersion
(String protocolVersion) void
setSaslMechanism
(String saslMechanism) void
setServerList
(String serverList) void
setSniHostName
(String sniHostName) void
setSocketTimeout
(int socketTimeout) void
setSSLProtocol
(String sslProtocol) void
setStatistics
(boolean statistics) void
setTcpKeepAlive
(boolean tcpKeepAlive) void
setTcpNoDelay
(boolean tcpNoDelay) void
setTracingPropagationEnabled
(boolean tracingPropagationEnabled) void
setTransactionMode
(String transactionMode) void
setTransactionTimeout
(int transactionTimeout) void
setTransportFactory
(Class<TransportFactory> transportFactory) void
setTransportFactory
(String transportFactoryClass) void
setTrustStoreFileName
(String trustStoreFileName) void
setTrustStorePassword
(String trustStorePassword) void
setTrustStorePath
(String trustStorePath) Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0 and will be removed in 15.0void
setTrustStoreType
(String trustStoreType) void
void
setUseAuth
(boolean useAuth) void
setUseSSL
(boolean useSSL) void
setValueSizeEstimate
(int valueSizeEstimate) Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0
-
Field Details
-
URI
- See Also:
-
SERVER_LIST
- See Also:
-
MARSHALLER
- See Also:
-
CONTEXT_INITIALIZERS
- See Also:
-
ASYNC_EXECUTOR_FACTORY
- See Also:
-
CLIENT_INTELLIGENCE
- See Also:
-
DEFAULT_EXECUTOR_FACTORY_POOL_SIZE
- See Also:
-
DEFAULT_EXECUTOR_FACTORY_THREADNAME_PREFIX
- See Also:
-
DEFAULT_EXECUTOR_FACTORY_THREADNAME_SUFFIX
- See Also:
-
TCP_NO_DELAY
- See Also:
-
TCP_KEEP_ALIVE
- See Also:
-
REQUEST_BALANCING_STRATEGY
- See Also:
-
KEY_SIZE_ESTIMATE
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0- See Also:
-
VALUE_SIZE_ESTIMATE
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0- See Also:
-
FORCE_RETURN_VALUES
- See Also:
-
HASH_FUNCTION_PREFIX
- See Also:
-
SO_TIMEOUT
- See Also:
-
CONNECT_TIMEOUT
- See Also:
-
PROTOCOL_VERSION
- See Also:
-
TRANSPORT_FACTORY
- See Also:
-
USE_SSL
- See Also:
-
KEY_STORE_FILE_NAME
- See Also:
-
KEY_STORE_TYPE
- See Also:
-
KEY_STORE_PASSWORD
- See Also:
-
SNI_HOST_NAME
- See Also:
-
KEY_ALIAS
- See Also:
-
TRUST_STORE_FILE_NAME
- See Also:
-
TRUST_STORE_PATH
- See Also:
-
TRUST_STORE_TYPE
- See Also:
-
TRUST_STORE_PASSWORD
- See Also:
-
SSL_PROVIDER
- See Also:
-
SSL_PROTOCOL
- See Also:
-
SSL_CIPHERS
- See Also:
-
SSL_CONTEXT
- See Also:
-
SSL_HOSTNAME_VALIDATION
- See Also:
-
MAX_RETRIES
- See Also:
-
USE_AUTH
- See Also:
-
SASL_MECHANISM
- See Also:
-
AUTH_CALLBACK_HANDLER
- See Also:
-
AUTH_SERVER_NAME
- See Also:
-
AUTH_USERNAME
- See Also:
-
AUTH_PASSWORD
- See Also:
-
AUTH_TOKEN
- See Also:
-
AUTH_REALM
- See Also:
-
AUTH_CLIENT_SUBJECT
- See Also:
-
SASL_PROPERTIES_PREFIX
- See Also:
-
SASL_PROPERTIES_PREFIX_REGEX
-
JAVA_SERIAL_ALLOWLIST
- See Also:
-
JAVA_SERIAL_WHITELIST
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
BATCH_SIZE
- See Also:
-
STATISTICS
- See Also:
-
JMX
- See Also:
-
JMX_NAME
- See Also:
-
JMX_DOMAIN
- See Also:
-
TRANSACTION_MANAGER_LOOKUP
- See Also:
-
TRANSACTION_MODE
- See Also:
-
TRANSACTION_TIMEOUT
- See Also:
-
NEAR_CACHE_MAX_ENTRIES
- See Also:
-
NEAR_CACHE_MODE
- See Also:
-
NEAR_CACHE_BLOOM_FILTER
- See Also:
-
NEAR_CACHE_NAME_PATTERN
- See Also:
-
CONNECTION_POOL_MAX_ACTIVE
- See Also:
-
CONNECTION_POOL_MAX_WAIT
- See Also:
-
CONNECTION_POOL_MIN_IDLE
- See Also:
-
CONNECTION_POOL_MAX_PENDING_REQUESTS
- See Also:
-
CONNECTION_POOL_MIN_EVICTABLE_IDLE_TIME
- See Also:
-
CONNECTION_POOL_EXHAUSTED_ACTION
- See Also:
-
CLUSTER_PROPERTIES_PREFIX
- See Also:
-
CLUSTER_PROPERTIES_PREFIX_REGEX
-
CLUSTER_PROPERTIES_PREFIX_INTELLIGENCE_REGEX
-
TRACING_PROPAGATION_ENABLED
- See Also:
-
CACHE_PREFIX
- See Also:
-
CACHE_CONFIGURATION_SUFFIX
- See Also:
-
CACHE_CONFIGURATION_URI_SUFFIX
- See Also:
-
CACHE_FORCE_RETURN_VALUES_SUFFIX
- See Also:
-
CACHE_MARSHALLER
- See Also:
-
CACHE_NEAR_CACHE_MODE_SUFFIX
- See Also:
-
CACHE_NEAR_CACHE_MAX_ENTRIES_SUFFIX
- See Also:
-
CACHE_NEAR_CACHE_FACTORY_SUFFIX
- See Also:
-
CACHE_NEAR_CACHE_BLOOM_FILTER_SUFFIX
- See Also:
-
CACHE_TEMPLATE_NAME_SUFFIX
- See Also:
-
CACHE_TRANSACTION_MODE_SUFFIX
- See Also:
-
CACHE_TRANSACTION_MANAGER_LOOKUP_SUFFIX
- See Also:
-
DNS_RESOLVER_MIN_TTL
- See Also:
-
DNS_RESOLVER_MAX_TTL
- See Also:
-
DNS_RESOLVER_NEGATIVE_TTL
- See Also:
-
DEFAULT_KEY_SIZE
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0- See Also:
-
DEFAULT_VALUE_SIZE
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0- See Also:
-
DEFAULT_HOTROD_PORT
public static final int DEFAULT_HOTROD_PORT- See Also:
-
DEFAULT_SO_TIMEOUT
public static final int DEFAULT_SO_TIMEOUT- See Also:
-
DEFAULT_CONNECT_TIMEOUT
public static final int DEFAULT_CONNECT_TIMEOUT- See Also:
-
DEFAULT_MAX_RETRIES
public static final int DEFAULT_MAX_RETRIES- See Also:
-
DEFAULT_BATCH_SIZE
public static final int DEFAULT_BATCH_SIZE- See Also:
-
DEFAULT_MAX_PENDING_REQUESTS
public static final int DEFAULT_MAX_PENDING_REQUESTS- See Also:
-
DEFAULT_MIN_EVICTABLE_IDLE_TIME
public static final long DEFAULT_MIN_EVICTABLE_IDLE_TIME- See Also:
-
DEFAULT_MAX_ACTIVE
public static final int DEFAULT_MAX_ACTIVE- See Also:
-
DEFAULT_MAX_WAIT
public static final int DEFAULT_MAX_WAIT- See Also:
-
DEFAULT_MIN_IDLE
public static final int DEFAULT_MIN_IDLE- See Also:
-
DEFAULT_TRACING_PROPAGATION_ENABLED
public static final boolean DEFAULT_TRACING_PROPAGATION_ENABLED- See Also:
-
-
Constructor Details
-
ConfigurationProperties
public ConfigurationProperties() -
ConfigurationProperties
-
ConfigurationProperties
-
-
Method Details
-
setURI
-
getURI
-
setServerList
-
getMarshaller
-
setMarshaller
-
getContextInitializers
-
setContextInitializers
-
getAsyncExecutorFactory
-
getDefaultExecutorFactoryPoolSize
public int getDefaultExecutorFactoryPoolSize() -
setDefaultExecutorFactoryPoolSize
public void setDefaultExecutorFactoryPoolSize(int poolSize) -
getDefaultExecutorFactoryThreadNamePrefix
-
setDefaultExecutorFactoryThreadNamePrefix
-
getDefaultExecutorFactoryThreadNameSuffix
-
setDefaultExecutorFactoryThreadNameSuffix
-
setTransportFactory
-
setTransportFactory
-
getTransportFactory
-
getTcpNoDelay
public boolean getTcpNoDelay() -
setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay) -
getTcpKeepAlive
public boolean getTcpKeepAlive() -
setTcpKeepAlive
public void setTcpKeepAlive(boolean tcpKeepAlive) -
getRequestBalancingStrategy
-
getKeySizeEstimate
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0 -
setKeySizeEstimate
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0 -
getValueSizeEstimate
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0 -
setValueSizeEstimate
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, does nothing and will be removed in 15.0 -
getForceReturnValues
public boolean getForceReturnValues() -
setForceReturnValues
public void setForceReturnValues(boolean forceReturnValues) -
getProperties
-
getSoTimeout
public int getSoTimeout() -
setSocketTimeout
public void setSocketTimeout(int socketTimeout) -
getProtocolVersion
-
setProtocolVersion
-
getClientIntelligence
-
setClientIntelligence
-
getConnectTimeout
public int getConnectTimeout() -
setConnectTimeout
public void setConnectTimeout(int connectTimeout) -
getUseSSL
public boolean getUseSSL() -
setUseSSL
public void setUseSSL(boolean useSSL) -
getKeyStoreFileName
-
setKeyStoreFileName
-
getKeyStoreType
-
setKeyStoreType
-
getKeyStorePassword
-
setKeyStorePassword
-
getKeyAlias
-
setKeyAlias
-
getTrustStoreFileName
-
setTrustStoreFileName
-
getTrustStoreType
-
setTrustStoreType
-
getTrustStorePassword
-
setTrustStorePassword
-
getTrustStorePath
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0 and will be removed in 15.0 -
setTrustStorePath
Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0 and will be removed in 15.0 -
getSSLProtocol
-
setSSLProtocol
-
getSniHostName
-
setSniHostName
-
getUseAuth
public boolean getUseAuth() -
setUseAuth
public void setUseAuth(boolean useAuth) -
getSaslMechanism
-
setSaslMechanism
-
getAuthUsername
-
setAuthUsername
-
getAuthPassword
-
setAuthPassword
-
getAuthToken
-
setAuthToken
-
getAuthRealm
-
setAuthRealm
-
setAuthServerName
-
getMaxRetries
public int getMaxRetries() -
setMaxRetries
public void setMaxRetries(int maxRetries) -
getBatchSize
public int getBatchSize() -
setBatchSize
public void setBatchSize(int batchSize) -
setStatistics
public void setStatistics(boolean statistics) -
isStatistics
public boolean isStatistics() -
setJmx
public void setJmx(boolean jmx) -
isJmx
public boolean isJmx() -
setJmxName
-
getJmxName
public void getJmxName() -
setJmxDomain
-
getJmxDomain
public void getJmxDomain() -
getTransactionManagerLookup
-
getNearCacheMode
-
setNearCacheMode
-
getNearCacheMaxEntries
public int getNearCacheMaxEntries() -
setNearCacheMaxEntries
public void setNearCacheMaxEntries(int nearCacheMaxEntries) -
getNearCacheNamePattern
Deprecated, for removal: This API element is subject to removal in a future version. -
setNearCacheNamePattern
@Deprecated(forRemoval=true, since="11.0") public void setNearCacheNamePattern(String nearCacheNamePattern) Deprecated, for removal: This API element is subject to removal in a future version. -
getConnectionPoolMaxActive
public int getConnectionPoolMaxActive() -
setConnectionPoolMaxActive
public void setConnectionPoolMaxActive(int connectionPoolMaxActive) -
getConnectionPoolMaxWait
public long getConnectionPoolMaxWait() -
setConnectionPoolMaxWait
public void setConnectionPoolMaxWait(long connectionPoolMaxWait) -
gtConnectionPoolMinIdle
public int gtConnectionPoolMinIdle() -
setConnectionPoolMinIdle
public void setConnectionPoolMinIdle(int connectionPoolMinIdle) -
getConnectionPoolMaxPendingRequests
public int getConnectionPoolMaxPendingRequests() -
setConnectionPoolMaxPendingRequests
public void setConnectionPoolMaxPendingRequests(int connectionPoolMaxPendingRequests) -
setConnectionPoolMinEvictableIdleTime
public long setConnectionPoolMinEvictableIdleTime() -
setConnectionPoolMinEvictableIdleTime
public void setConnectionPoolMinEvictableIdleTime(long connectionPoolMinEvictableIdleTime) -
getConnectionPoolExhaustedAction
-
setConnectionPoolExhaustedAction
-
isTracingPropagationEnabled
public boolean isTracingPropagationEnabled() -
setTracingPropagationEnabled
public void setTracingPropagationEnabled(boolean tracingPropagationEnabled) -
isVersionPre12
Is version previous to, and not including, 1.2? -
getServerList
-
setJavaSerialWhitelist
@Deprecated(forRemoval=true, since="12.0") public void setJavaSerialWhitelist(String javaSerialWhitelist) Deprecated, for removal: This API element is subject to removal in a future version.UsesetJavaSerialAllowList(String)
instead. To be removed in 14.0.- Parameters:
javaSerialWhitelist
-
-
setJavaSerialAllowList
-
setTransactionMode
-
getTransactionMode
-
setTransactionTimeout
public void setTransactionTimeout(int transactionTimeout) -
getTransactionTimeout
public int getTransactionTimeout()
-