Package org.apache.openejb.jee.wls
Class ConnectionPoolParams
- java.lang.Object
-
- org.apache.openejb.jee.wls.ConnectionPoolParams
-
public class ConnectionPoolParams extends Object
Java class for connection-pool-params complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="connection-pool-params"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="initial-capacity" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="max-capacity" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="capacity-increment" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="shrinking-enabled" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/> <element name="shrink-frequency-seconds" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="highest-num-waiters" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="highest-num-unavailable" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="connection-creation-retry-frequency-seconds" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="connection-reserve-timeout-seconds" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="test-frequency-seconds" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="test-connections-on-create" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/> <element name="test-connections-on-release" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/> <element name="test-connections-on-reserve" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/> <element name="profile-harvest-frequency-seconds" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="ignore-in-use-connections-enabled" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BigIntegercapacityIncrementprotected BigIntegerconnectionCreationRetryFrequencySecondsprotected BigIntegerconnectionReserveTimeoutSecondsprotected BigIntegerhighestNumUnavailableprotected BigIntegerhighestNumWaitersprotected Stringidprotected BooleanignoreInUseConnectionsEnabledprotected BigIntegerinitialCapacityprotected BigIntegermaxCapacityprotected BigIntegerprofileHarvestFrequencySecondsprotected BigIntegershrinkFrequencySecondsprotected BooleanshrinkingEnabledprotected BooleantestConnectionsOnCreateprotected BooleantestConnectionsOnReleaseprotected BooleantestConnectionsOnReserveprotected BigIntegertestFrequencySeconds
-
Constructor Summary
Constructors Constructor Description ConnectionPoolParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegergetCapacityIncrement()Gets the value of the capacityIncrement property.BigIntegergetConnectionCreationRetryFrequencySeconds()Gets the value of the connectionCreationRetryFrequencySeconds property.BigIntegergetConnectionReserveTimeoutSeconds()Gets the value of the connectionReserveTimeoutSeconds property.BigIntegergetHighestNumUnavailable()Gets the value of the highestNumUnavailable property.BigIntegergetHighestNumWaiters()Gets the value of the highestNumWaiters property.StringgetId()Gets the value of the id property.BooleangetIgnoreInUseConnectionsEnabled()Gets the value of the ignoreInUseConnectionsEnabled property.BigIntegergetInitialCapacity()Gets the value of the initialCapacity property.BigIntegergetMaxCapacity()Gets the value of the maxCapacity property.BigIntegergetProfileHarvestFrequencySeconds()Gets the value of the profileHarvestFrequencySeconds property.BigIntegergetShrinkFrequencySeconds()Gets the value of the shrinkFrequencySeconds property.BooleangetShrinkingEnabled()Gets the value of the shrinkingEnabled property.BooleangetTestConnectionsOnCreate()Gets the value of the testConnectionsOnCreate property.BooleangetTestConnectionsOnRelease()Gets the value of the testConnectionsOnRelease property.BooleangetTestConnectionsOnReserve()Gets the value of the testConnectionsOnReserve property.BigIntegergetTestFrequencySeconds()Gets the value of the testFrequencySeconds property.voidsetCapacityIncrement(BigInteger value)Sets the value of the capacityIncrement property.voidsetConnectionCreationRetryFrequencySeconds(BigInteger value)Sets the value of the connectionCreationRetryFrequencySeconds property.voidsetConnectionReserveTimeoutSeconds(BigInteger value)Sets the value of the connectionReserveTimeoutSeconds property.voidsetHighestNumUnavailable(BigInteger value)Sets the value of the highestNumUnavailable property.voidsetHighestNumWaiters(BigInteger value)Sets the value of the highestNumWaiters property.voidsetId(String value)Sets the value of the id property.voidsetIgnoreInUseConnectionsEnabled(Boolean value)Sets the value of the ignoreInUseConnectionsEnabled property.voidsetInitialCapacity(BigInteger value)Sets the value of the initialCapacity property.voidsetMaxCapacity(BigInteger value)Sets the value of the maxCapacity property.voidsetProfileHarvestFrequencySeconds(BigInteger value)Sets the value of the profileHarvestFrequencySeconds property.voidsetShrinkFrequencySeconds(BigInteger value)Sets the value of the shrinkFrequencySeconds property.voidsetShrinkingEnabled(Boolean value)Sets the value of the shrinkingEnabled property.voidsetTestConnectionsOnCreate(Boolean value)Sets the value of the testConnectionsOnCreate property.voidsetTestConnectionsOnRelease(Boolean value)Sets the value of the testConnectionsOnRelease property.voidsetTestConnectionsOnReserve(Boolean value)Sets the value of the testConnectionsOnReserve property.voidsetTestFrequencySeconds(BigInteger value)Sets the value of the testFrequencySeconds property.
-
-
-
Field Detail
-
initialCapacity
protected BigInteger initialCapacity
-
maxCapacity
protected BigInteger maxCapacity
-
capacityIncrement
protected BigInteger capacityIncrement
-
shrinkingEnabled
protected Boolean shrinkingEnabled
-
shrinkFrequencySeconds
protected BigInteger shrinkFrequencySeconds
-
highestNumWaiters
protected BigInteger highestNumWaiters
-
highestNumUnavailable
protected BigInteger highestNumUnavailable
-
connectionCreationRetryFrequencySeconds
protected BigInteger connectionCreationRetryFrequencySeconds
-
connectionReserveTimeoutSeconds
protected BigInteger connectionReserveTimeoutSeconds
-
testFrequencySeconds
protected BigInteger testFrequencySeconds
-
testConnectionsOnCreate
protected Boolean testConnectionsOnCreate
-
testConnectionsOnRelease
protected Boolean testConnectionsOnRelease
-
testConnectionsOnReserve
protected Boolean testConnectionsOnReserve
-
profileHarvestFrequencySeconds
protected BigInteger profileHarvestFrequencySeconds
-
ignoreInUseConnectionsEnabled
protected Boolean ignoreInUseConnectionsEnabled
-
id
protected String id
-
-
Method Detail
-
getInitialCapacity
public BigInteger getInitialCapacity()
Gets the value of the initialCapacity property.- Returns:
- possible object is
BigInteger
-
setInitialCapacity
public void setInitialCapacity(BigInteger value)
Sets the value of the initialCapacity property.- Parameters:
value- allowed object isBigInteger
-
getMaxCapacity
public BigInteger getMaxCapacity()
Gets the value of the maxCapacity property.- Returns:
- possible object is
BigInteger
-
setMaxCapacity
public void setMaxCapacity(BigInteger value)
Sets the value of the maxCapacity property.- Parameters:
value- allowed object isBigInteger
-
getCapacityIncrement
public BigInteger getCapacityIncrement()
Gets the value of the capacityIncrement property.- Returns:
- possible object is
BigInteger
-
setCapacityIncrement
public void setCapacityIncrement(BigInteger value)
Sets the value of the capacityIncrement property.- Parameters:
value- allowed object isBigInteger
-
getShrinkingEnabled
public Boolean getShrinkingEnabled()
Gets the value of the shrinkingEnabled property.- Returns:
- possible object is
Boolean
-
setShrinkingEnabled
public void setShrinkingEnabled(Boolean value)
Sets the value of the shrinkingEnabled property.- Parameters:
value- allowed object isBoolean
-
getShrinkFrequencySeconds
public BigInteger getShrinkFrequencySeconds()
Gets the value of the shrinkFrequencySeconds property.- Returns:
- possible object is
BigInteger
-
setShrinkFrequencySeconds
public void setShrinkFrequencySeconds(BigInteger value)
Sets the value of the shrinkFrequencySeconds property.- Parameters:
value- allowed object isBigInteger
-
getHighestNumWaiters
public BigInteger getHighestNumWaiters()
Gets the value of the highestNumWaiters property.- Returns:
- possible object is
BigInteger
-
setHighestNumWaiters
public void setHighestNumWaiters(BigInteger value)
Sets the value of the highestNumWaiters property.- Parameters:
value- allowed object isBigInteger
-
getHighestNumUnavailable
public BigInteger getHighestNumUnavailable()
Gets the value of the highestNumUnavailable property.- Returns:
- possible object is
BigInteger
-
setHighestNumUnavailable
public void setHighestNumUnavailable(BigInteger value)
Sets the value of the highestNumUnavailable property.- Parameters:
value- allowed object isBigInteger
-
getConnectionCreationRetryFrequencySeconds
public BigInteger getConnectionCreationRetryFrequencySeconds()
Gets the value of the connectionCreationRetryFrequencySeconds property.- Returns:
- possible object is
BigInteger
-
setConnectionCreationRetryFrequencySeconds
public void setConnectionCreationRetryFrequencySeconds(BigInteger value)
Sets the value of the connectionCreationRetryFrequencySeconds property.- Parameters:
value- allowed object isBigInteger
-
getConnectionReserveTimeoutSeconds
public BigInteger getConnectionReserveTimeoutSeconds()
Gets the value of the connectionReserveTimeoutSeconds property.- Returns:
- possible object is
BigInteger
-
setConnectionReserveTimeoutSeconds
public void setConnectionReserveTimeoutSeconds(BigInteger value)
Sets the value of the connectionReserveTimeoutSeconds property.- Parameters:
value- allowed object isBigInteger
-
getTestFrequencySeconds
public BigInteger getTestFrequencySeconds()
Gets the value of the testFrequencySeconds property.- Returns:
- possible object is
BigInteger
-
setTestFrequencySeconds
public void setTestFrequencySeconds(BigInteger value)
Sets the value of the testFrequencySeconds property.- Parameters:
value- allowed object isBigInteger
-
getTestConnectionsOnCreate
public Boolean getTestConnectionsOnCreate()
Gets the value of the testConnectionsOnCreate property.- Returns:
- possible object is
Boolean
-
setTestConnectionsOnCreate
public void setTestConnectionsOnCreate(Boolean value)
Sets the value of the testConnectionsOnCreate property.- Parameters:
value- allowed object isBoolean
-
getTestConnectionsOnRelease
public Boolean getTestConnectionsOnRelease()
Gets the value of the testConnectionsOnRelease property.- Returns:
- possible object is
Boolean
-
setTestConnectionsOnRelease
public void setTestConnectionsOnRelease(Boolean value)
Sets the value of the testConnectionsOnRelease property.- Parameters:
value- allowed object isBoolean
-
getTestConnectionsOnReserve
public Boolean getTestConnectionsOnReserve()
Gets the value of the testConnectionsOnReserve property.- Returns:
- possible object is
Boolean
-
setTestConnectionsOnReserve
public void setTestConnectionsOnReserve(Boolean value)
Sets the value of the testConnectionsOnReserve property.- Parameters:
value- allowed object isBoolean
-
getProfileHarvestFrequencySeconds
public BigInteger getProfileHarvestFrequencySeconds()
Gets the value of the profileHarvestFrequencySeconds property.- Returns:
- possible object is
BigInteger
-
setProfileHarvestFrequencySeconds
public void setProfileHarvestFrequencySeconds(BigInteger value)
Sets the value of the profileHarvestFrequencySeconds property.- Parameters:
value- allowed object isBigInteger
-
getIgnoreInUseConnectionsEnabled
public Boolean getIgnoreInUseConnectionsEnabled()
Gets the value of the ignoreInUseConnectionsEnabled property.- Returns:
- possible object is
Boolean
-
setIgnoreInUseConnectionsEnabled
public void setIgnoreInUseConnectionsEnabled(Boolean value)
Sets the value of the ignoreInUseConnectionsEnabled property.- Parameters:
value- allowed object isBoolean
-
-