org.jencks.factory
Class AbstractGeronimoPool

java.lang.Object
  extended byorg.jencks.factory.AbstractGeronimoPool
Direct Known Subclasses:
PartitionedPoolFactoryBean, SinglePoolFactoryBean

public abstract class AbstractGeronimoPool
extends Object

This abstract class defines common properties for every kind of pool used by the connection manager of Geronimo.

These properties are the following: - maxSize: the max size of the pool - minSize: the min size of the pool - blockingTimeoutMilliseconds: the blocking timeout of the pool in milliseconds - idleTimeoutMinutes: the idle timeout of the pool in minutes - matchOne: - matchAll: selectOneAssumeMatch:

Author:
Thierry Templier
See Also:
PartitionedPoolFactoryBean, SinglePoolFactoryBean

Field Summary
protected  int blockingTimeoutMilliseconds
           
protected  int idleTimeoutMinutes
           
protected  boolean matchAll
           
protected  boolean matchOne
           
protected  int maxSize
           
protected  int minSize
           
protected  boolean selectOneAssumeMatch
           
 
Constructor Summary
AbstractGeronimoPool()
           
 
Method Summary
 int getBlockingTimeoutMilliseconds()
           
 int getIdleTimeoutMinutes()
           
 int getMaxSize()
           
 int getMinSize()
           
 boolean isMatchAll()
           
 boolean isMatchOne()
           
 boolean isSelectOneAssumeMatch()
           
 void setBlockingTimeoutMilliseconds(int blockingTimeoutMilliseconds)
          Set the blocking timeout property in milliseconds.
 void setIdleTimeoutMinutes(int idleTimeoutMinutes)
          Set the idle timeout property in minutes.
 void setMatchAll(boolean matchAll)
          Set the match all property.
 void setMatchOne(boolean matchOne)
          Set the match one property.
 void setMaxSize(int maxSize)
          Set the max size property of the pool.
 void setMinSize(int minSize)
          Set the min size property of the pool.
 void setSelectOneAssumeMatch(boolean selectOneAssumeMatch)
          Set the select one assume mathc property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxSize

protected int maxSize

minSize

protected int minSize

blockingTimeoutMilliseconds

protected int blockingTimeoutMilliseconds

idleTimeoutMinutes

protected int idleTimeoutMinutes

matchOne

protected boolean matchOne

matchAll

protected boolean matchAll

selectOneAssumeMatch

protected boolean selectOneAssumeMatch
Constructor Detail

AbstractGeronimoPool

public AbstractGeronimoPool()
Method Detail

getBlockingTimeoutMilliseconds

public int getBlockingTimeoutMilliseconds()

getIdleTimeoutMinutes

public int getIdleTimeoutMinutes()

isMatchAll

public boolean isMatchAll()

isMatchOne

public boolean isMatchOne()

getMaxSize

public int getMaxSize()

getMinSize

public int getMinSize()

isSelectOneAssumeMatch

public boolean isSelectOneAssumeMatch()

setBlockingTimeoutMilliseconds

public void setBlockingTimeoutMilliseconds(int blockingTimeoutMilliseconds)
Set the blocking timeout property in milliseconds.


setIdleTimeoutMinutes

public void setIdleTimeoutMinutes(int idleTimeoutMinutes)
Set the idle timeout property in minutes.


setMatchAll

public void setMatchAll(boolean matchAll)
Set the match all property.


setMatchOne

public void setMatchOne(boolean matchOne)
Set the match one property.


setMaxSize

public void setMaxSize(int maxSize)
Set the max size property of the pool.


setMinSize

public void setMinSize(int minSize)
Set the min size property of the pool.


setSelectOneAssumeMatch

public void setSelectOneAssumeMatch(boolean selectOneAssumeMatch)
Set the select one assume mathc property.



Copyright © 2005 LogicBlaze, Inc.. All Rights Reserved.