Class ConfigurationProperties
- java.lang.Object
-
- org.infinispan.client.hotrod.impl.ConfigurationProperties
-
public class ConfigurationProperties extends Object
Encapsulate all config properties here- Version:
- 4.1
- Author:
- Manik Surtani
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ConfigurationProperties()
ConfigurationProperties(String serverList)
ConfigurationProperties(Properties props)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAsyncExecutorFactory()
int
getBatchSize()
int
getConnectTimeout()
int
getDefaultExecutorFactoryPoolSize()
boolean
getForceReturnValues()
String
getKeyAlias()
int
getKeySizeEstimate()
String
getKeyStoreFileName()
String
getKeyStorePassword()
String
getKeyStoreType()
String
getMarshaller()
int
getMaxRetries()
Properties
getProperties()
String
getProtocolVersion()
String
getRequestBalancingStrategy()
int
getSoTimeout()
String
getSSLProtocol()
boolean
getTcpKeepAlive()
boolean
getTcpNoDelay()
String
getTransactionManagerLookup()
TransactionMode
getTransactionMode()
String
getTransportFactory()
String
getTrustStoreFileName()
String
getTrustStorePassword()
String
getTrustStoreType()
boolean
getUseSSL()
int
getValueSizeEstimate()
static boolean
isVersionPre12(Configuration cfg)
Is version previous to, and not including, 1.2?
-
-
-
Field Detail
-
TRANSPORT_FACTORY
@Deprecated public static final String TRANSPORT_FACTORY
Deprecated.- See Also:
- Constant Field Values
-
SERVER_LIST
public static final String SERVER_LIST
- See Also:
- Constant Field Values
-
MARSHALLER
public static final String MARSHALLER
- See Also:
- Constant Field Values
-
ASYNC_EXECUTOR_FACTORY
public static final String ASYNC_EXECUTOR_FACTORY
- See Also:
- Constant Field Values
-
CLIENT_INTELLIGENCE
public static final String CLIENT_INTELLIGENCE
- See Also:
- Constant Field Values
-
DEFAULT_EXECUTOR_FACTORY_POOL_SIZE
public static final String DEFAULT_EXECUTOR_FACTORY_POOL_SIZE
- See Also:
- Constant Field Values
-
TCP_NO_DELAY
public static final String TCP_NO_DELAY
- See Also:
- Constant Field Values
-
TCP_KEEP_ALIVE
public static final String TCP_KEEP_ALIVE
- See Also:
- Constant Field Values
-
PING_ON_STARTUP
@Deprecated public static final String PING_ON_STARTUP
Deprecated.- See Also:
- Constant Field Values
-
REQUEST_BALANCING_STRATEGY
public static final String REQUEST_BALANCING_STRATEGY
- See Also:
- Constant Field Values
-
KEY_SIZE_ESTIMATE
public static final String KEY_SIZE_ESTIMATE
- See Also:
- Constant Field Values
-
VALUE_SIZE_ESTIMATE
public static final String VALUE_SIZE_ESTIMATE
- See Also:
- Constant Field Values
-
FORCE_RETURN_VALUES
public static final String FORCE_RETURN_VALUES
- See Also:
- Constant Field Values
-
HASH_FUNCTION_PREFIX
public static final String HASH_FUNCTION_PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_EXECUTOR_FACTORY_QUEUE_SIZE
@Deprecated public static final String DEFAULT_EXECUTOR_FACTORY_QUEUE_SIZE
Deprecated.- See Also:
- Constant Field Values
-
SO_TIMEOUT
public static final String SO_TIMEOUT
- See Also:
- Constant Field Values
-
CONNECT_TIMEOUT
public static final String CONNECT_TIMEOUT
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION
public static final String PROTOCOL_VERSION
- See Also:
- Constant Field Values
-
USE_SSL
public static final String USE_SSL
- See Also:
- Constant Field Values
-
KEY_STORE_FILE_NAME
public static final String KEY_STORE_FILE_NAME
- See Also:
- Constant Field Values
-
KEY_STORE_TYPE
public static final String KEY_STORE_TYPE
- See Also:
- Constant Field Values
-
KEY_STORE_PASSWORD
public static final String KEY_STORE_PASSWORD
- See Also:
- Constant Field Values
-
SNI_HOST_NAME
public static final String SNI_HOST_NAME
- See Also:
- Constant Field Values
-
KEY_ALIAS
public static final String KEY_ALIAS
- See Also:
- Constant Field Values
-
KEY_STORE_CERTIFICATE_PASSWORD
public static final String KEY_STORE_CERTIFICATE_PASSWORD
- See Also:
- Constant Field Values
-
TRUST_STORE_FILE_NAME
public static final String TRUST_STORE_FILE_NAME
- See Also:
- Constant Field Values
-
TRUST_STORE_PATH
public static final String TRUST_STORE_PATH
- See Also:
- Constant Field Values
-
TRUST_STORE_TYPE
public static final String TRUST_STORE_TYPE
- See Also:
- Constant Field Values
-
TRUST_STORE_PASSWORD
public static final String TRUST_STORE_PASSWORD
- See Also:
- Constant Field Values
-
SSL_PROTOCOL
public static final String SSL_PROTOCOL
- See Also:
- Constant Field Values
-
SSL_CONTEXT
public static final String SSL_CONTEXT
- See Also:
- Constant Field Values
-
MAX_RETRIES
public static final String MAX_RETRIES
- See Also:
- Constant Field Values
-
USE_AUTH
public static final String USE_AUTH
- See Also:
- Constant Field Values
-
SASL_MECHANISM
public static final String SASL_MECHANISM
- See Also:
- Constant Field Values
-
AUTH_CALLBACK_HANDLER
public static final String AUTH_CALLBACK_HANDLER
- See Also:
- Constant Field Values
-
AUTH_SERVER_NAME
public static final String AUTH_SERVER_NAME
- See Also:
- Constant Field Values
-
AUTH_USERNAME
public static final String AUTH_USERNAME
- See Also:
- Constant Field Values
-
AUTH_PASSWORD
public static final String AUTH_PASSWORD
- See Also:
- Constant Field Values
-
AUTH_REALM
public static final String AUTH_REALM
- See Also:
- Constant Field Values
-
AUTH_CLIENT_SUBJECT
public static final String AUTH_CLIENT_SUBJECT
- See Also:
- Constant Field Values
-
SASL_PROPERTIES_PREFIX
public static final String SASL_PROPERTIES_PREFIX
- See Also:
- Constant Field Values
-
SASL_PROPERTIES_PREFIX_REGEX
public static final Pattern SASL_PROPERTIES_PREFIX_REGEX
-
JAVA_SERIAL_WHITELIST
public static final String JAVA_SERIAL_WHITELIST
- See Also:
- Constant Field Values
-
BATCH_SIZE
public static final String BATCH_SIZE
- See Also:
- Constant Field Values
-
TRANSACTION_MANAGER_LOOKUP
public static final String TRANSACTION_MANAGER_LOOKUP
- See Also:
- Constant Field Values
-
TRANSACTION_MODE
public static final String TRANSACTION_MODE
- See Also:
- Constant Field Values
-
DEFAULT_KEY_SIZE
public static final int DEFAULT_KEY_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_VALUE_SIZE
public static final int DEFAULT_VALUE_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_HOTROD_PORT
public static final int DEFAULT_HOTROD_PORT
- See Also:
- Constant Field Values
-
DEFAULT_SO_TIMEOUT
public static final int DEFAULT_SO_TIMEOUT
- See Also:
- Constant Field Values
-
DEFAULT_CONNECT_TIMEOUT
public static final int DEFAULT_CONNECT_TIMEOUT
- See Also:
- Constant Field Values
-
DEFAULT_MAX_RETRIES
public static final int DEFAULT_MAX_RETRIES
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_SIZE
public static final int DEFAULT_BATCH_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfigurationProperties
public ConfigurationProperties()
-
ConfigurationProperties
public ConfigurationProperties(String serverList)
-
ConfigurationProperties
public ConfigurationProperties(Properties props)
-
-
Method Detail
-
getTransportFactory
public String getTransportFactory()
-
getMarshaller
public String getMarshaller()
-
getAsyncExecutorFactory
public String getAsyncExecutorFactory()
-
getDefaultExecutorFactoryPoolSize
public int getDefaultExecutorFactoryPoolSize()
-
getTcpNoDelay
public boolean getTcpNoDelay()
-
getTcpKeepAlive
public boolean getTcpKeepAlive()
-
getRequestBalancingStrategy
public String getRequestBalancingStrategy()
-
getKeySizeEstimate
public int getKeySizeEstimate()
-
getValueSizeEstimate
public int getValueSizeEstimate()
-
getForceReturnValues
public boolean getForceReturnValues()
-
getProperties
public Properties getProperties()
-
getSoTimeout
public int getSoTimeout()
-
getProtocolVersion
public String getProtocolVersion()
-
getConnectTimeout
public int getConnectTimeout()
-
getUseSSL
public boolean getUseSSL()
-
getKeyStoreFileName
public String getKeyStoreFileName()
-
getKeyStoreType
public String getKeyStoreType()
-
getKeyStorePassword
public String getKeyStorePassword()
-
getKeyAlias
public String getKeyAlias()
-
getTrustStoreFileName
public String getTrustStoreFileName()
-
getTrustStoreType
public String getTrustStoreType()
-
getTrustStorePassword
public String getTrustStorePassword()
-
getSSLProtocol
public String getSSLProtocol()
-
getMaxRetries
public int getMaxRetries()
-
getBatchSize
public int getBatchSize()
-
getTransactionManagerLookup
public String getTransactionManagerLookup()
-
getTransactionMode
public TransactionMode getTransactionMode()
-
isVersionPre12
public static boolean isVersionPre12(Configuration cfg)
Is version previous to, and not including, 1.2?
-
-