Package org.infinispan.spring.remote
Class AbstractRemoteCacheManagerFactory
java.lang.Object
org.infinispan.spring.remote.AbstractRemoteCacheManagerFactory
- Direct Known Subclasses:
InfinispanRemoteCacheManagerFactoryBean
,SpringRemoteCacheManagerFactoryBean
An abstract base class for factories creating cache manager that are backed by an Infinispan RemoteCacheManager.
- Author:
- Olaf Bergner
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final org.infinispan.commons.logging.Log
static final String
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected Properties
void
setAsyncExecutorFactory
(String asyncExecutorFactory) void
setClassAllowList
(String allowListRegex) void
setClassWhiteList
(String allowListRegex) Deprecated, for removal: This API element is subject to removal in a future version.void
setConfigurationProperties
(Properties configurationProperties) void
setConfigurationPropertiesFileLocation
(org.springframework.core.io.Resource configurationPropertiesFileLocation) void
setForceReturnValues
(boolean forceReturnValues) 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
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, for removal: This API element is subject to removal in a future version.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.0void
setWriteTimeout
(long writeTimeout)
-
Field Details
-
logger
protected static final org.infinispan.commons.logging.Log logger -
SPRING_JAVA_SERIAL_ALLOWLIST
- See Also:
-
startAutomatically
protected boolean startAutomatically
-
-
Constructor Details
-
AbstractRemoteCacheManagerFactory
public AbstractRemoteCacheManagerFactory()
-
-
Method Details
-
assertCorrectlyConfigured
- Throws:
IllegalStateException
-
configurationProperties
- Throws:
IOException
-
setConfigurationProperties
- 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, for removal: This API element is subject to removal in a future version.- Parameters:
transportFactory
-- See Also:
-
setServerList
- Parameters:
serverList
-- See Also:
-
setMarshaller
- Parameters:
marshaller
-- See Also:
-
setClassAllowList
- Parameters:
allowListRegex
-- See Also:
-
setClassWhiteList
Deprecated, for removal: This API element is subject to removal in a future version.UsesetClassAllowList(String)
instead. Will be removed in 14.0.- Parameters:
allowListRegex
-- See Also:
-
setAsyncExecutorFactory
- Parameters:
asyncExecutorFactory
-- See Also:
-
setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay) - Parameters:
tcpNoDelay
-- See Also:
-
setTcpKeepAlive
public void setTcpKeepAlive(boolean tcpKeepAlive) -
setRequestBalancingStrategy
- Parameters:
requestBalancingStrategy
-- See Also:
-
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 -
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 -
setForceReturnValues
public void setForceReturnValues(boolean forceReturnValues) - Parameters:
forceReturnValues
-- See Also:
-
setReadTimeout
public void setReadTimeout(long readTimeout) - Parameters:
readTimeout
-- See Also:
-
setWriteTimeout
public void setWriteTimeout(long writeTimeout) - Parameters:
writeTimeout
-- See Also:
-
setNearCacheMode
- Parameters:
mode
-- See Also:
-
setNearCacheMaxEntries
public void setNearCacheMaxEntries(int maxEntries) - Parameters:
maxEntries
-- See Also:
-
setNearCacheNamePattern
- Parameters:
pattern
-- See Also:
-
setClassAllowList(String)
instead.