org.apache.geronimo.connector.outbound.connectionmanagerconfig
Class SinglePool
java.lang.Object
org.apache.geronimo.connector.outbound.connectionmanagerconfig.SinglePool
- All Implemented Interfaces:
- Serializable, PoolingSupport, PoolingAttributes
public class SinglePool
- extends Object
- implements PoolingSupport
- See Also:
- Serialized Form
Constructor Summary |
SinglePool(int maxSize,
int minSize,
int blockingTimeoutMilliseconds,
int idleTimeoutMinutes,
boolean matchOne,
boolean matchAll,
boolean selectOneAssumeMatch)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SinglePool
public SinglePool(int maxSize,
int minSize,
int blockingTimeoutMilliseconds,
int idleTimeoutMinutes,
boolean matchOne,
boolean matchAll,
boolean selectOneAssumeMatch)
getMaxSize
public int getMaxSize()
setMaxSize
public void setMaxSize(int maxSize)
getMinSize
public int getMinSize()
setMinSize
public void setMinSize(int minSize)
getBlockingTimeoutMilliseconds
public int getBlockingTimeoutMilliseconds()
- Specified by:
getBlockingTimeoutMilliseconds
in interface PoolingAttributes
setBlockingTimeoutMilliseconds
public void setBlockingTimeoutMilliseconds(int blockingTimeoutMilliseconds)
- Specified by:
setBlockingTimeoutMilliseconds
in interface PoolingAttributes
getIdleTimeoutMinutes
public int getIdleTimeoutMinutes()
- Specified by:
getIdleTimeoutMinutes
in interface PoolingAttributes
setIdleTimeoutMinutes
public void setIdleTimeoutMinutes(int idleTimeoutMinutes)
- Specified by:
setIdleTimeoutMinutes
in interface PoolingAttributes
isMatchOne
public boolean isMatchOne()
setMatchOne
public void setMatchOne(boolean matchOne)
isMatchAll
public boolean isMatchAll()
setMatchAll
public void setMatchAll(boolean matchAll)
isSelectOneAssumeMatch
public boolean isSelectOneAssumeMatch()
setSelectOneAssumeMatch
public void setSelectOneAssumeMatch(boolean selectOneAssumeMatch)
addPoolingInterceptors
public ConnectionInterceptor addPoolingInterceptors(ConnectionInterceptor tail)
- Specified by:
addPoolingInterceptors
in interface PoolingSupport
getPartitionCount
public int getPartitionCount()
- Specified by:
getPartitionCount
in interface PoolingAttributes
getPartitionMaxSize
public int getPartitionMaxSize()
- Specified by:
getPartitionMaxSize
in interface PoolingAttributes
setPartitionMaxSize
public void setPartitionMaxSize(int maxSize)
throws InterruptedException
- Specified by:
setPartitionMaxSize
in interface PoolingAttributes
- Throws:
InterruptedException
getPartitionMinSize
public int getPartitionMinSize()
- Specified by:
getPartitionMinSize
in interface PoolingAttributes
setPartitionMinSize
public void setPartitionMinSize(int minSize)
- Specified by:
setPartitionMinSize
in interface PoolingAttributes
getIdleConnectionCount
public int getIdleConnectionCount()
- Specified by:
getIdleConnectionCount
in interface PoolingAttributes
getConnectionCount
public int getConnectionCount()
- Specified by:
getConnectionCount
in interface PoolingAttributes
Copyright © 2012 Apache Software Foundation. All Rights Reserved.