public class PoolFactoryBean extends Object implements FactoryBean<com.gemstone.gemfire.cache.client.Pool>, InitializingBean, DisposableBean, BeanNameAware, BeanFactoryAware
Pool
,
PoolFactory
,
PoolManager
Constructor and Description |
---|
PoolFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected com.gemstone.gemfire.cache.client.PoolFactory |
createPoolFactory() |
void |
destroy() |
com.gemstone.gemfire.cache.client.Pool |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setBeanName(String name) |
void |
setFreeConnectionTimeout(int freeConnectionTimeout) |
void |
setIdleTimeout(long idleTimeout) |
void |
setKeepAlive(boolean keepAlive) |
void |
setLoadConditioningInterval(int loadConditioningInterval) |
void |
setLocators(Collection<InetSocketAddress> locators) |
void |
setMaxConnections(int maxConnections) |
void |
setMinConnections(int minConnections) |
void |
setMultiUserAuthentication(boolean multiUserAuthentication) |
void |
setName(String name) |
void |
setPingInterval(long pingInterval) |
void |
setPool(com.gemstone.gemfire.cache.client.Pool pool) |
void |
setPrSingleHopEnabled(boolean prSingleHopEnabled) |
void |
setReadTimeout(int readTimeout) |
void |
setRetryAttempts(int retryAttempts) |
void |
setServerGroup(String serverGroup) |
void |
setServers(Collection<InetSocketAddress> servers) |
void |
setSocketBufferSize(int socketBufferSize) |
void |
setStatisticInterval(int statisticInterval) |
void |
setSubscriptionAckInterval(int subscriptionAckInterval) |
void |
setSubscriptionEnabled(boolean subscriptionEnabled) |
void |
setSubscriptionMessageTrackingTimeout(int subscriptionMessageTrackingTimeout) |
void |
setSubscriptionRedundancy(int subscriptionRedundancy) |
void |
setThreadLocalConnections(boolean threadLocalConnections) |
public com.gemstone.gemfire.cache.client.Pool getObject() throws Exception
getObject
in interface FactoryBean<com.gemstone.gemfire.cache.client.Pool>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<com.gemstone.gemfire.cache.client.Pool>
public boolean isSingleton()
isSingleton
in interface FactoryBean<com.gemstone.gemfire.cache.client.Pool>
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
protected com.gemstone.gemfire.cache.client.PoolFactory createPoolFactory()
public void destroy() throws Exception
destroy
in interface DisposableBean
Exception
public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
public void setBeanName(String name)
setBeanName
in interface BeanNameAware
public void setName(String name)
name
- the name to setpublic void setPool(com.gemstone.gemfire.cache.client.Pool pool)
pool
- the pool to setpublic void setFreeConnectionTimeout(int freeConnectionTimeout)
public void setIdleTimeout(long idleTimeout)
public void setKeepAlive(boolean keepAlive)
public void setLocators(Collection<InetSocketAddress> locators)
public void setLoadConditioningInterval(int loadConditioningInterval)
public void setMaxConnections(int maxConnections)
public void setMinConnections(int minConnections)
public void setMultiUserAuthentication(boolean multiUserAuthentication)
public void setPingInterval(long pingInterval)
public void setPrSingleHopEnabled(boolean prSingleHopEnabled)
public void setReadTimeout(int readTimeout)
public void setRetryAttempts(int retryAttempts)
public void setServerGroup(String serverGroup)
public void setServers(Collection<InetSocketAddress> servers)
public void setSocketBufferSize(int socketBufferSize)
public void setStatisticInterval(int statisticInterval)
public void setSubscriptionAckInterval(int subscriptionAckInterval)
public void setSubscriptionEnabled(boolean subscriptionEnabled)
public void setSubscriptionMessageTrackingTimeout(int subscriptionMessageTrackingTimeout)
public void setSubscriptionRedundancy(int subscriptionRedundancy)
public void setThreadLocalConnections(boolean threadLocalConnections)