| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.persistence.config
All Implemented Interfaces:
Cloneable, Serializable
public class PoolingConfig
The database pooling properties available to the system.
Implements:
Cloneable
Serializable
Links:
Kernel Association Association Link
To be reviewed - blocking should be the only action
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
| Nested Class Summary |
public Static class |
|
| Field Summary |
int |
|
long |
|
int |
|
|
|
boolean |
|
boolean |
|
boolean |
|
int |
|
String |
|
boolean |
|
int |
|
int |
|
long |
|
int |
|
|
|
public static ActionOnFull |
|
public static ActionOnFull |
|
public static ActionOnFull |
|
private int |
|
private int |
|
private int |
|
private int |
|
private int |
|
private int |
|
private long |
|
private int |
|
private boolean |
|
private boolean |
|
private long |
|
private final static long |
|
private boolean |
|
private boolean |
|
private String |
|
| Method Summary |
protected Object |
|
public Object |
|
|
|
public int |
|
public int |
|
public int |
|
public int |
|
public int |
|
public long |
|
public int |
|
public long |
|
public String |
|
public boolean |
|
public boolean |
|
public boolean |
|
public boolean |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
To be reviewed - blocking should be the only action
Multiplicity:
1
To be reviewed - blocking should be the only action
defaultTransactionIsolation
int defaultTransactionIsolation
defaultTransactionIsolation
private int defaultTransactionIsolation
Multiplicity:
1
private int initialSize
Multiplicity:
1
int initialSize
private int maxActive
Multiplicity:
1
int maxActive
int maxIdle
private int maxIdle
Multiplicity:
1
maxOpenPreparedStatements
int maxOpenPreparedStatements
maxOpenPreparedStatements
private int maxOpenPreparedStatements
Multiplicity:
1
long maxWait
private long maxWait
Multiplicity:
1
int minIdle
private int minIdle
Multiplicity:
1
boolean poolPreparedStatements
private boolean poolPreparedStatements
Multiplicity:
1
boolean removeAbandoned
private boolean removeAbandoned
Multiplicity:
1
private long removeAbandonedTimeout
Multiplicity:
1
long removeAbandonedTimeout
private final static long serialVersionUID
Final.
Multiplicity:
1
Static.
boolean testOnBorrow
private boolean testOnBorrow
Multiplicity:
1
boolean testOnReturn
private boolean testOnReturn
Multiplicity:
1
String validationQuery
private String validationQuery
Multiplicity:
1
protected Object clone ()
public Object cloneConfig ()
Return:
Returns the actionOnFull.
getDefaultTransactionIsolation
public int getDefaultTransactionIsolation ()
Return:
Returns the defaultTransactionIsolation.
public int getInitialSize ()
public int getMaxActive ()
Return:
Returns the maxActive.
public int getMaxIdle ()
Return:
Returns the maxIdle.
getMaxOpenPreparedStatements
public int getMaxOpenPreparedStatements ()
Return:
Returns the maxOpenPreparedStatements.
public long getMaxWait ()
Return:
Returns the maxWait.
public int getMinIdle ()
Return:
Returns the minIdle.
getRemoveAbandonedTimeout
public long getRemoveAbandonedTimeout ()
Return:
Returns the removeAbandonedTimeout.
public String getValidationQuery ()
Return:
Returns the validationQuery.
public boolean isPoolPreparedStatements ()
Return:
Returns the poolPreparedStatements.
public boolean isRemoveAbandoned ()
Return:
Returns the removeAbandoned.
public boolean isTestOnBorrow ()
Return:
Returns the testOnBorrow.
public boolean isTestOnReturn ()
Return:
Returns the testOnReturn.
Parameters:
actionOnFull The actionOnFull to set.
setDefaultTransactionIsolation
public void setDefaultTransactionIsolation (Integer defaultTransactionIsolation)
Parameters:
defaultTransactionIsolation The defaultTransactionIsolation to set.
public void setInitialSize (Integer initialSize)
public void setMaxActive (Integer maxActive)
Parameters:
maxActive The maxActive to set.
public void setMaxIdle (Integer maxIdle)
Parameters:
maxIdle The maxIdle to set.
setMaxOpenPreparedStatements
public void setMaxOpenPreparedStatements (Integer maxOpenPreparedStatements)
Parameters:
maxOpenPreparedStatements The maxOpenPreparedStatements to set.
public void setMaxWait (Long maxWait)
Parameters:
maxWait The maxWait to set.
public void setMinIdle (Integer minIdle)
Parameters:
minIdle The minIdle to set.
setPoolPreparedStatements
public void setPoolPreparedStatements (Boolean poolPreparedStatements)
Parameters:
poolPreparedStatements The poolPreparedStatements to set.
public void setRemoveAbandoned (Boolean removeAbandoned)
Parameters:
removeAbandoned The removeAbandoned to set.
setRemoveAbandonedTimeout
public void setRemoveAbandonedTimeout (Long removeAbandonedTimeout)
Parameters:
removeAbandonedTimeout The removeAbandonedTimeout to set.
public void setTestOnBorrow (Boolean testOnBorrow)
Parameters:
testOnBorrow The testOnBorrow to set.
public void setTestOnReturn (Boolean testOnReturn)
Parameters:
testOnReturn The testOnReturn to set.
public void setValidationQuery (String validationQuery)
Parameters:
validationQuery The validationQuery to set.
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|