Package org.infinispan.spring
Class AbstractRemoteCacheManagerFactory
- java.lang.Object
-
- org.infinispan.spring.AbstractRemoteCacheManagerFactory
-
- Direct Known Subclasses:
InfinispanRemoteCacheManagerFactoryBean
,SpringRemoteCacheManagerFactoryBean
public abstract class AbstractRemoteCacheManagerFactory extends Object
An abstract base class for factories creating cache manager that are backed by an Infinispan RemoteCacheManager.
- Author:
- Olaf Bergner
- See Also:
RemoteCacheManager
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.infinispan.commons.logging.Log
logger
protected boolean
startAutomatically
-
Constructor Summary
Constructors Constructor Description AbstractRemoteCacheManagerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
assertCorrectlyConfigured()
protected Properties
configurationProperties()
void
setAsyncExecutorFactory(String asyncExecutorFactory)
void
setConfigurationProperties(Properties configurationProperties)
void
setConfigurationPropertiesFileLocation(org.springframework.core.io.Resource configurationPropertiesFileLocation)
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
setStartAutomatically(boolean startAutomatically)
void
setTcpKeepAlive(boolean tcpKeepAlive)
void
setTcpNoDelay(boolean tcpNoDelay)
void
setTransportFactory(String TransportFactory)
Deprecated.void
setValueSizeEstimate(int valueSizeEstimate)
void
setWriteTimeout(long writeTimeout)
-
-
-
Method Detail
-
assertCorrectlyConfigured
protected void assertCorrectlyConfigured() throws IllegalStateException
- Throws:
IllegalStateException
-
configurationProperties
protected Properties configurationProperties() throws IOException
- Throws:
IOException
-
setConfigurationProperties
public void setConfigurationProperties(Properties configurationProperties)
- Parameters:
configurationProperties
- the configurationProperties to set
-
setConfigurationPropertiesFileLocation
public void setConfigurationPropertiesFileLocation(org.springframework.core.io.Resource configurationPropertiesFileLocation)
- Parameters:
configurationPropertiesFileLocation
- the configurationPropertiesFileLocation to set
-
setStartAutomatically
public void setStartAutomatically(boolean startAutomatically)
- Parameters:
startAutomatically
- the startAutomatically to set
-
setTransportFactory
@Deprecated public void setTransportFactory(String TransportFactory)
Deprecated.- Parameters:
TransportFactory
-- See Also:
ConfigurationPropertiesOverrides.setTransportFactory(java.lang.String)
-
setServerList
public void setServerList(Collection<InetSocketAddress> serverList)
- Parameters:
serverList
-- See Also:
ConfigurationPropertiesOverrides.setServerList(java.util.Collection)
-
setMarshaller
public void setMarshaller(String marshaller)
- Parameters:
marshaller
-- See Also:
ConfigurationPropertiesOverrides.setMarshaller(java.lang.String)
-
setAsyncExecutorFactory
public void setAsyncExecutorFactory(String asyncExecutorFactory)
- Parameters:
asyncExecutorFactory
-- See Also:
ConfigurationPropertiesOverrides.setAsyncExecutorFactory(java.lang.String)
-
setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay)
- Parameters:
tcpNoDelay
-- See Also:
ConfigurationPropertiesOverrides.setTcpNoDelay(boolean)
-
setTcpKeepAlive
public void setTcpKeepAlive(boolean tcpKeepAlive)
-
setRequestBalancingStrategy
public void setRequestBalancingStrategy(String requestBalancingStrategy)
- Parameters:
requestBalancingStrategy
-- See Also:
ConfigurationPropertiesOverrides.setRequestBalancingStrategy(java.lang.String)
-
setKeySizeEstimate
public void setKeySizeEstimate(int keySizeEstimate)
- Parameters:
keySizeEstimate
-- See Also:
ConfigurationPropertiesOverrides.setKeySizeEstimate(int)
-
setValueSizeEstimate
public void setValueSizeEstimate(int valueSizeEstimate)
- Parameters:
valueSizeEstimate
-- See Also:
ConfigurationPropertiesOverrides.setValueSizeEstimate(int)
-
setForceReturnValues
public void setForceReturnValues(boolean forceReturnValues)
- Parameters:
forceReturnValues
-- See Also:
ConfigurationPropertiesOverrides.setForceReturnValues(boolean)
-
setReadTimeout
public void setReadTimeout(long readTimeout)
- Parameters:
readTimeout
-- See Also:
ConfigurationPropertiesOverrides.setReadTimeout(long)
-
setWriteTimeout
public void setWriteTimeout(long writeTimeout)
- Parameters:
writeTimeout
-- See Also:
ConfigurationPropertiesOverrides.setWriteTimeout(long)
-
setNearCacheMode
public void setNearCacheMode(String mode)
- Parameters:
mode
-- See Also:
ConfigurationPropertiesOverrides.setNearCacheMode(String)
-
setNearCacheMaxEntries
public void setNearCacheMaxEntries(int maxEntries)
- Parameters:
maxEntries
-- See Also:
ConfigurationPropertiesOverrides.setNearCacheMaxEntries(int)
-
setNearCacheNamePattern
public void setNearCacheNamePattern(String pattern)
- Parameters:
pattern
-- See Also:
ConfigurationPropertiesOverrides.setNearCacheNamePattern(String)
-
-