Package org.infinispan.spring.remote
Class ConfigurationPropertiesOverrides
- java.lang.Object
-
- org.infinispan.spring.remote.ConfigurationPropertiesOverrides
-
public class ConfigurationPropertiesOverrides extends java.lang.Object
Provides a mechanism to override selected configuration properties using explicit setters for each configuration setting.
- Author:
- Olaf Bergner
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OPERATION_READ_TIMEOUT
static java.lang.String
OPERATION_WRITE_TIMEOUT
-
Constructor Summary
Constructors Constructor Description ConfigurationPropertiesOverrides()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isEmpty()
java.util.Properties
override(java.util.Properties configurationPropertiesToOverride)
void
setAsyncExecutorFactory(java.lang.String asyncExecutorFactory)
void
setClassWhiteList(java.lang.String whiteListRegex)
void
setForceReturnValues(boolean forceReturnValues)
void
setKeySizeEstimate(int keySizeEstimate)
void
setMarshaller(java.lang.String marshaller)
void
setNearCacheMaxEntries(int maxEntries)
void
setNearCacheMode(java.lang.String mode)
void
setNearCacheNamePattern(java.lang.String pattern)
void
setReadTimeout(long readTimeout)
void
setRequestBalancingStrategy(java.lang.String requestBalancingStrategy)
void
setServerList(java.util.Collection<java.net.InetSocketAddress> serverList)
void
setTcpKeepAlive(boolean tcpKeepAlive)
void
setTcpNoDelay(boolean tcpNoDelay)
void
setTransportFactory(java.lang.String TransportFactory)
Deprecated.since 10.0.void
setValueSizeEstimate(int valueSizeEstimate)
void
setWriteTimeout(long writeTimeout)
-
-
-
Field Detail
-
OPERATION_READ_TIMEOUT
public static final java.lang.String OPERATION_READ_TIMEOUT
- See Also:
- Constant Field Values
-
OPERATION_WRITE_TIMEOUT
public static final java.lang.String OPERATION_WRITE_TIMEOUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Returns:
- See Also:
Hashtable.isEmpty()
-
setTransportFactory
@Deprecated public void setTransportFactory(java.lang.String TransportFactory)
Deprecated.since 10.0. This method has no effect- Parameters:
TransportFactory
-
-
setServerList
public void setServerList(java.util.Collection<java.net.InetSocketAddress> serverList)
- Parameters:
serverList
-
-
setMarshaller
public void setMarshaller(java.lang.String marshaller)
- Parameters:
marshaller
-
-
setClassWhiteList
public void setClassWhiteList(java.lang.String whiteListRegex)
- Parameters:
whiteListRegex
-
-
setAsyncExecutorFactory
public void setAsyncExecutorFactory(java.lang.String asyncExecutorFactory)
- Parameters:
asyncExecutorFactory
-
-
setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay)
- Parameters:
tcpNoDelay
-
-
setTcpKeepAlive
public void setTcpKeepAlive(boolean tcpKeepAlive)
-
setRequestBalancingStrategy
public void setRequestBalancingStrategy(java.lang.String requestBalancingStrategy)
- Parameters:
requestBalancingStrategy
-
-
setKeySizeEstimate
public void setKeySizeEstimate(int keySizeEstimate)
- Parameters:
keySizeEstimate
-
-
setValueSizeEstimate
public void setValueSizeEstimate(int valueSizeEstimate)
- Parameters:
valueSizeEstimate
-
-
setForceReturnValues
public void setForceReturnValues(boolean forceReturnValues)
- Parameters:
forceReturnValues
-
-
setReadTimeout
public void setReadTimeout(long readTimeout)
-
setWriteTimeout
public void setWriteTimeout(long writeTimeout)
-
setNearCacheMode
public void setNearCacheMode(java.lang.String mode)
-
setNearCacheMaxEntries
public void setNearCacheMaxEntries(int maxEntries)
-
setNearCacheNamePattern
public void setNearCacheNamePattern(java.lang.String pattern)
-
override
public java.util.Properties override(java.util.Properties configurationPropertiesToOverride)
- Parameters:
configurationPropertiesToOverride
-- Returns:
-
-