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