|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nonesole.persistence.connectionpool.parser.ConnectionPoolProperties
public class ConnectionPoolProperties
Properties of Connection Pool
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 |
---|
public ConnectionPoolProperties()
Method Detail |
---|
public boolean isValid()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getPoolConfigName()
public void setPoolConfigName(java.lang.String poolConfigName)
poolConfigName
- the poolConfigName to setpublic int getMaxStatements()
public void setMaxStatements(int maxStatements)
maxStatements
- the maxStatements to setpublic int getInitialPoolSize()
public void setInitialPoolSize(int initialPoolSize)
initialPoolSize
- the initialPoolSize to setpublic int getMinPoolSize()
public void setMinPoolSize(int minPoolSize)
minPoolSize
- the minPoolSize to setpublic int getMaxPoolSize()
public void setMaxPoolSize(int maxPoolSize)
maxPoolSize
- the maxPoolSize to setpublic int getMaxidleTime()
public void setMaxidleTime(int maxidleTime)
maxidleTime
- the maxidleTime to setpublic int getPropertyCycle()
public void setPropertyCycle(int propertyCycle)
propertyCycle
- the propertyCycle to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |