Class PoolParamsImpl
- java.lang.Object
-
- org.jboss.jca.as.converters.wls.metadata.PoolParamsImpl
-
- All Implemented Interfaces:
Serializable,PoolParams,WlsMetadata
public class PoolParamsImpl extends Object implements PoolParams
A generic PoolParams.- Author:
- Jeff Zhang
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.jca.as.converters.wls.api.metadata.PoolParams
PoolParams.Attribute, PoolParams.Tag
-
-
Constructor Summary
Constructors Constructor Description PoolParamsImpl(Integer initialCapacity, Integer maxCapacity, Integer capacityIncrement, Integer shrinkFrequencySeconds, Integer connectionCreationRetryFrequencySeconds, Integer connectionReserveTimeoutSeconds, Integer testFrequencySeconds)constructor
-
Method Summary
-
-
-
Constructor Detail
-
PoolParamsImpl
public PoolParamsImpl(Integer initialCapacity, Integer maxCapacity, Integer capacityIncrement, Integer shrinkFrequencySeconds, Integer connectionCreationRetryFrequencySeconds, Integer connectionReserveTimeoutSeconds, Integer testFrequencySeconds)
constructor- Parameters:
initialCapacity- initialCapacitymaxCapacity- maxCapacitycapacityIncrement- capacityIncrementshrinkFrequencySeconds- shrinkFrequencySecondsconnectionCreationRetryFrequencySeconds- connectionCreationRetryFrequencySecondsconnectionReserveTimeoutSeconds- connectionReserveTimeoutSecondstestFrequencySeconds- testFrequencySeconds
-
-
Method Detail
-
getInitialCapacity
public Integer getInitialCapacity()
Description copied from interface:PoolParamsgetInitialCapacity- Specified by:
getInitialCapacityin interfacePoolParams- Returns:
- the InitialCapacity
-
getMaxCapacity
public Integer getMaxCapacity()
Description copied from interface:PoolParamsgetMaxCapacity- Specified by:
getMaxCapacityin interfacePoolParams- Returns:
- the MaxCapacity
-
getCapacityIncrement
public Integer getCapacityIncrement()
Description copied from interface:PoolParamsgetCapacityIncrement- Specified by:
getCapacityIncrementin interfacePoolParams- Returns:
- the CapacityIncrement
-
getShrinkingEnabled
public Boolean getShrinkingEnabled()
Description copied from interface:PoolParamsgetShrinkingEnabled- Specified by:
getShrinkingEnabledin interfacePoolParams- Returns:
- the ShrinkingEnabled
-
getShrinkFrequencySeconds
public Integer getShrinkFrequencySeconds()
Description copied from interface:PoolParamsgetShrinkFrequencySeconds- Specified by:
getShrinkFrequencySecondsin interfacePoolParams- Returns:
- the ShrinkFrequencySeconds
-
getHighestNumWaiters
public Integer getHighestNumWaiters()
Description copied from interface:PoolParamsgetHighestNumWaiters- Specified by:
getHighestNumWaitersin interfacePoolParams- Returns:
- the HighestNumWaiters
-
getHighestNumUnavailable
public Integer getHighestNumUnavailable()
Description copied from interface:PoolParamsgetHighestNumUnavailable- Specified by:
getHighestNumUnavailablein interfacePoolParams- Returns:
- the HighestNumUnavailable
-
getConnectionCreationRetryFrequencySeconds
public Integer getConnectionCreationRetryFrequencySeconds()
Description copied from interface:PoolParamsgetConnectionCreationRetryFrequencySeconds- Specified by:
getConnectionCreationRetryFrequencySecondsin interfacePoolParams- Returns:
- the ConnectionCreationRetryFrequencySeconds
-
getConnectionReserveTimeoutSeconds
public Integer getConnectionReserveTimeoutSeconds()
Description copied from interface:PoolParamsgetConnectionReserveTimeoutSeconds- Specified by:
getConnectionReserveTimeoutSecondsin interfacePoolParams- Returns:
- the ConnectionReserveTimeoutSeconds
-
getTestFrequencySeconds
public Integer getTestFrequencySeconds()
Description copied from interface:PoolParamsgetTestFrequencySeconds- Specified by:
getTestFrequencySecondsin interfacePoolParams- Returns:
- the TestFrequencySeconds
-
getTestConnectionsOnCreate
public Boolean getTestConnectionsOnCreate()
Description copied from interface:PoolParamsgetTestConnectionsOnCreate- Specified by:
getTestConnectionsOnCreatein interfacePoolParams- Returns:
- the TestConnectionsOnCreate
-
getTestConnectionsOnRelease
public Boolean getTestConnectionsOnRelease()
Description copied from interface:PoolParamsgetTestConnectionsOnRelease- Specified by:
getTestConnectionsOnReleasein interfacePoolParams- Returns:
- the TestConnectionsOnRelease
-
getTestConnectionsOnReserve
public Boolean getTestConnectionsOnReserve()
Description copied from interface:PoolParamsgetTestConnectionsOnReserve- Specified by:
getTestConnectionsOnReservein interfacePoolParams- Returns:
- the TestConnectionsOnReserve
-
getProfileHarvestFrequencySeconds
public Integer getProfileHarvestFrequencySeconds()
Description copied from interface:PoolParamsgetProfileHarvestFrequencySeconds- Specified by:
getProfileHarvestFrequencySecondsin interfacePoolParams- Returns:
- the ProfileHarvestFrequencySeconds
-
getIgnoreInUseConnectionsEnabled
public Boolean getIgnoreInUseConnectionsEnabled()
Description copied from interface:PoolParamsgetIgnoreInUseConnectionsEnabled- Specified by:
getIgnoreInUseConnectionsEnabledin interfacePoolParams- Returns:
- the IgnoreInUseConnectionsEnabled
-
getMatchConnectionsSupported
public Boolean getMatchConnectionsSupported()
Description copied from interface:PoolParamsgetMatchConnectionsSupported- Specified by:
getMatchConnectionsSupportedin interfacePoolParams- Returns:
- the MatchConnectionsSupported
-
getUseFirstAvailable
public Boolean getUseFirstAvailable()
Description copied from interface:PoolParamsgetUseFirstAvailable- Specified by:
getUseFirstAvailablein interfacePoolParams- Returns:
- the UseFirstAvailable
-
-