Package org.infinispan.spring
Class ConfigurationPropertiesOverrides
- java.lang.Object
-
- org.infinispan.spring.ConfigurationPropertiesOverrides
-
public class ConfigurationPropertiesOverrides extends 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 String
OPERATION_READ_TIMEOUT
static String
OPERATION_WRITE_TIMEOUT
-
Constructor Summary
Constructors Constructor Description ConfigurationPropertiesOverrides()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
Properties
override(Properties configurationPropertiesToOverride)
void
setAsyncExecutorFactory(String asyncExecutorFactory)
void
setForceReturnValues(boolean forceReturnValues)
void
setKeySizeEstimate(int keySizeEstimate)
void
setMarshaller(String marshaller)
void
setNearCacheMaxEntries(int maxEntries)
void
setNearCacheMode(String mode)
void
setNearCacheNamePattern(String pattern)
void
setReadTimeout(long readTimeout)
void
setRequestBalancingStrategy(String requestBalancingStrategy)
void
setServerList(Collection<InetSocketAddress> serverList)
void
setTcpKeepAlive(boolean tcpKeepAlive)
void
setTcpNoDelay(boolean tcpNoDelay)
void
setTransportFactory(String TransportFactory)
void
setValueSizeEstimate(int valueSizeEstimate)
void
setWriteTimeout(long writeTimeout)
-
-
-
Field Detail
-
OPERATION_READ_TIMEOUT
public static final String OPERATION_READ_TIMEOUT
- See Also:
- Constant Field Values
-
OPERATION_WRITE_TIMEOUT
public static final String OPERATION_WRITE_TIMEOUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Returns:
- See Also:
Hashtable.isEmpty()
-
setTransportFactory
public void setTransportFactory(String TransportFactory)
- Parameters:
TransportFactory
-
-
setServerList
public void setServerList(Collection<InetSocketAddress> serverList)
- Parameters:
serverList
-
-
setMarshaller
public void setMarshaller(String marshaller)
- Parameters:
marshaller
-
-
setAsyncExecutorFactory
public void setAsyncExecutorFactory(String asyncExecutorFactory)
- Parameters:
asyncExecutorFactory
-
-
setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay)
- Parameters:
tcpNoDelay
-
-
setTcpKeepAlive
public void setTcpKeepAlive(boolean tcpKeepAlive)
-
setRequestBalancingStrategy
public void setRequestBalancingStrategy(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(String mode)
-
setNearCacheMaxEntries
public void setNearCacheMaxEntries(int maxEntries)
-
setNearCacheNamePattern
public void setNearCacheNamePattern(String pattern)
-
override
public Properties override(Properties configurationPropertiesToOverride)
- Parameters:
configurationPropertiesToOverride
-- Returns:
-
-