com.nonesole.persistence.connectionpool.parser
Class ConnectionPoolProperties

java.lang.Object
  extended by com.nonesole.persistence.connectionpool.parser.ConnectionPoolProperties

public class ConnectionPoolProperties
extends java.lang.Object

Properties of Connection Pool

Version:
1.0 - build in 2009-07-01
Author:
JACK

Constructor Summary
ConnectionPoolProperties()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Rewrite equals method this place do not need rewrite hashCode method.
 int getInitialPoolSize()
           
 int getMaxidleTime()
           
 int getMaxPoolSize()
           
 int getMaxStatements()
           
 int getMinPoolSize()
           
 java.lang.String getPoolConfigName()
           
 int getPropertyCycle()
           
 boolean isValid()
          Current object is whether or not valid.
 void setInitialPoolSize(int initialPoolSize)
           
 void setMaxidleTime(int maxidleTime)
           
 void setMaxPoolSize(int maxPoolSize)
           
 void setMaxStatements(int maxStatements)
           
 void setMinPoolSize(int minPoolSize)
           
 void setPoolConfigName(java.lang.String poolConfigName)
           
 void setPropertyCycle(int propertyCycle)
           
 java.lang.String toString()
          Rewrite toString method
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionPoolProperties

public ConnectionPoolProperties()
Method Detail

isValid

public boolean isValid()
Current object is whether or not valid.

Returns:
true - valid

toString

public java.lang.String toString()
Rewrite toString method

Overrides:
toString in class java.lang.Object
Returns:
String

equals

public boolean equals(java.lang.Object obj)
Rewrite equals method this place do not need rewrite hashCode method.

Overrides:
equals in class java.lang.Object
Returns:
true or false

getPoolConfigName

public java.lang.String getPoolConfigName()
Returns:
the poolConfigName

setPoolConfigName

public void setPoolConfigName(java.lang.String poolConfigName)
Parameters:
poolConfigName - the poolConfigName to set

getMaxStatements

public int getMaxStatements()
Returns:
the maxStatements

setMaxStatements

public void setMaxStatements(int maxStatements)
Parameters:
maxStatements - the maxStatements to set

getInitialPoolSize

public int getInitialPoolSize()
Returns:
the initialPoolSize

setInitialPoolSize

public void setInitialPoolSize(int initialPoolSize)
Parameters:
initialPoolSize - the initialPoolSize to set

getMinPoolSize

public int getMinPoolSize()
Returns:
the minPoolSize

setMinPoolSize

public void setMinPoolSize(int minPoolSize)
Parameters:
minPoolSize - the minPoolSize to set

getMaxPoolSize

public int getMaxPoolSize()
Returns:
the maxPoolSize

setMaxPoolSize

public void setMaxPoolSize(int maxPoolSize)
Parameters:
maxPoolSize - the maxPoolSize to set

getMaxidleTime

public int getMaxidleTime()
Returns:
the maxidleTime

setMaxidleTime

public void setMaxidleTime(int maxidleTime)
Parameters:
maxidleTime - the maxidleTime to set

getPropertyCycle

public int getPropertyCycle()
Returns:
the propertyCycle

setPropertyCycle

public void setPropertyCycle(int propertyCycle)
Parameters:
propertyCycle - the propertyCycle to set