org.apache.geronimo.connector.outbound.connectionmanagerconfig
Class SinglePool

java.lang.Object
  extended byorg.apache.geronimo.connector.outbound.connectionmanagerconfig.SinglePool
All Implemented Interfaces:
PoolingAttributes, PoolingSupport, Serializable

public class SinglePool
extends Object
implements PoolingSupport

Version:
$Rev: 356022 $ $Date: 2005-12-11 21:58:34 +0100 (Sun, 11 Dec 2005) $
See Also:
Serialized Form

Constructor Summary
SinglePool(int maxSize, int minSize, int blockingTimeoutMilliseconds, int idleTimeoutMinutes, boolean matchOne, boolean matchAll, boolean selectOneAssumeMatch)
           
 
Method Summary
 ConnectionInterceptor addPoolingInterceptors(ConnectionInterceptor tail)
           
 int getBlockingTimeoutMilliseconds()
           
 int getConnectionCount()
           
 int getIdleConnectionCount()
           
 int getIdleTimeoutMinutes()
           
 int getMaxSize()
           
 int getMinSize()
           
 int getPartitionCount()
           
 int getPartitionMaxSize()
           
 int getPartitionMinSize()
           
 boolean isMatchAll()
           
 boolean isMatchOne()
           
 boolean isSelectOneAssumeMatch()
           
 void setBlockingTimeoutMilliseconds(int blockingTimeoutMilliseconds)
           
 void setIdleTimeoutMinutes(int idleTimeoutMinutes)
           
 void setMatchAll(boolean matchAll)
           
 void setMatchOne(boolean matchOne)
           
 void setMaxSize(int maxSize)
           
 void setMinSize(int minSize)
           
 void setPartitionMaxSize(int maxSize)
           
 void setPartitionMinSize(int minSize)
           
 void setSelectOneAssumeMatch(boolean selectOneAssumeMatch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SinglePool

public SinglePool(int maxSize,
                  int minSize,
                  int blockingTimeoutMilliseconds,
                  int idleTimeoutMinutes,
                  boolean matchOne,
                  boolean matchAll,
                  boolean selectOneAssumeMatch)
Method Detail

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 © 2003-2007 Apache Software Foundation. All Rights Reserved.