org.jboss.jca.common.metadata.common
Class CommonPoolImpl

java.lang.Object
  extended by org.jboss.jca.common.metadata.common.CommonPoolImpl
All Implemented Interfaces:
Serializable, org.jboss.jca.common.api.metadata.common.CommonPool, org.jboss.jca.common.api.metadata.JCAMetadata
Direct Known Subclasses:
CommonXaPoolImpl

public class CommonPoolImpl
extends Object
implements org.jboss.jca.common.api.metadata.common.CommonPool

A PoolImpl.

Author:
Stefano Maestri
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.common.CommonPool
org.jboss.jca.common.api.metadata.common.CommonPool.Tag
 
Field Summary
protected  Integer maxPoolSize
          maxPoolSize
protected  Integer minPoolSize
          minPoolSize
protected  Boolean prefill
          prefill
protected  Boolean useStrictMin
          use-strict-min
 
Constructor Summary
CommonPoolImpl(Integer minPoolSize, Integer maxPoolSize, Boolean prefill, Boolean useStrictMin)
          Create a new PoolImpl.
 
Method Summary
 Integer getMaxPoolSize()
          Get the maxPoolSize.
 Integer getMinPoolSize()
          Get the minPoolSize.
 Boolean isPrefill()
          Get the prefill.
 Boolean isUseStrictMin()
          Get the useStrictMin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minPoolSize

protected final Integer minPoolSize
minPoolSize


maxPoolSize

protected final Integer maxPoolSize
maxPoolSize


prefill

protected final Boolean prefill
prefill


useStrictMin

protected final Boolean useStrictMin
use-strict-min

Constructor Detail

CommonPoolImpl

public CommonPoolImpl(Integer minPoolSize,
                      Integer maxPoolSize,
                      Boolean prefill,
                      Boolean useStrictMin)
Create a new PoolImpl.

Parameters:
minPoolSize - minPoolSize
maxPoolSize - maxPoolSize
prefill - prefill
useStrictMin - useStrictMin
Method Detail

getMinPoolSize

public final Integer getMinPoolSize()
Get the minPoolSize.

Specified by:
getMinPoolSize in interface org.jboss.jca.common.api.metadata.common.CommonPool
Returns:
the minPoolSize.

getMaxPoolSize

public final Integer getMaxPoolSize()
Get the maxPoolSize.

Specified by:
getMaxPoolSize in interface org.jboss.jca.common.api.metadata.common.CommonPool
Returns:
the maxPoolSize.

isPrefill

public final Boolean isPrefill()
Get the prefill.

Specified by:
isPrefill in interface org.jboss.jca.common.api.metadata.common.CommonPool
Returns:
the prefill.

isUseStrictMin

public final Boolean isUseStrictMin()
Get the useStrictMin.

Specified by:
isUseStrictMin in interface org.jboss.jca.common.api.metadata.common.CommonPool
Returns:
the useStrictMin.


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)