org.infinispan.spring
Class AbstractRemoteCacheManagerFactory

java.lang.Object
  extended by 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
protected  Log logger
           
protected  boolean startAutomatically
           
 
Constructor Summary
AbstractRemoteCacheManagerFactory()
           
 
Method Summary
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 setPingOnStartup(boolean pingOnStartup)
           
 void setRequestBalancingStrategy(String requestBalancingStrategy)
           
 void setServerList(Collection<InetSocketAddress> serverList)
           
 void setStartAutomatically(boolean startAutomatically)
           
 void setTcpNoDelay(boolean tcpNoDelay)
           
 void setTransportFactory(String TransportFactory)
           
 void setValueSizeEstimate(int valueSizeEstimate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final Log logger

startAutomatically

protected boolean startAutomatically
Constructor Detail

AbstractRemoteCacheManagerFactory

public AbstractRemoteCacheManagerFactory()
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

public void setTransportFactory(String TransportFactory)
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)

setPingOnStartup

public void setPingOnStartup(boolean pingOnStartup)
Parameters:
pingOnStartup -
See Also:
ConfigurationPropertiesOverrides.setPingOnStartup(boolean)

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)

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.