Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.persistence.config
Class PoolingConfig
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 Class ActionOnFull
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
setDefaultTransactionIsolation(Integer defaultTransactionIsolation)
public void
setInitialSize(Integer initialSize)
public void
setMaxActive(Integer maxActive)
public void
setMaxIdle(Integer maxIdle)
public void
setMaxOpenPreparedStatements(Integer maxOpenPreparedStatements)
public void
setMaxWait(Long maxWait)
public void
setMinIdle(Integer minIdle)
public void
setPoolPreparedStatements(Boolean poolPreparedStatements)
public void
setRemoveAbandoned(Boolean removeAbandoned)
public void
setRemoveAbandonedTimeout(Long removeAbandonedTimeout)
public void
setTestOnBorrow(Boolean testOnBorrow)
public void
setTestOnReturn(Boolean testOnReturn)
public void
setValidationQuery(String validationQuery)
Field Detail
actionOnFull
private PoolingConfig.ActionOnFull actionOnFull
To be reviewed - blocking should be the only action
Multiplicity:
1
 

actionOnFull
PoolingConfig.ActionOnFull actionOnFull
To be reviewed - blocking should be the only action
 

defaultTransactionIsolation
int defaultTransactionIsolation
 

defaultTransactionIsolation
private int defaultTransactionIsolation
Multiplicity:
1
 

initialSize
private int initialSize
Multiplicity:
1
 

initialSize
int initialSize
 

maxActive
private int maxActive
Multiplicity:
1
 

maxActive
int maxActive
 

maxIdle
int maxIdle
 

maxIdle
private int maxIdle
Multiplicity:
1
 

maxOpenPreparedStatements
int maxOpenPreparedStatements
 

maxOpenPreparedStatements
private int maxOpenPreparedStatements
Multiplicity:
1
 

maxWait
long maxWait
 

maxWait
private long maxWait
Multiplicity:
1
 

minIdle
int minIdle
 

minIdle
private int minIdle
Multiplicity:
1
 

poolPreparedStatements
boolean poolPreparedStatements
 

poolPreparedStatements
private boolean poolPreparedStatements
Multiplicity:
1
 

removeAbandoned
boolean removeAbandoned
 

removeAbandoned
private boolean removeAbandoned
Multiplicity:
1
 

removeAbandonedTimeout
private long removeAbandonedTimeout
Multiplicity:
1
 

removeAbandonedTimeout
long removeAbandonedTimeout
 

serialVersionUID
private final static long serialVersionUID
Final.
Multiplicity:
1
Static.
 

testOnBorrow
boolean testOnBorrow
 

testOnBorrow
private boolean testOnBorrow
Multiplicity:
1
 

testOnReturn
boolean testOnReturn
 

testOnReturn
private boolean testOnReturn
Multiplicity:
1
 

validationQuery
String validationQuery
 

validationQuery
private String validationQuery
Multiplicity:
1
 
Method Detail
clone
protected Object clone ()
 
 

cloneConfig
public Object cloneConfig ()
 
 

getActionOnFull
public PoolingConfig.ActionOnFull getActionOnFull ()
 
Return:
Returns the actionOnFull.
 

getDefaultTransactionIsolation
public int getDefaultTransactionIsolation ()
 
Return:
Returns the defaultTransactionIsolation.
 

getInitialSize
public int getInitialSize ()
 
 

getMaxActive
public int getMaxActive ()
 
Return:
Returns the maxActive.
 

getMaxIdle
public int getMaxIdle ()
 
Return:
Returns the maxIdle.
 

getMaxOpenPreparedStatements
public int getMaxOpenPreparedStatements ()
 
Return:
Returns the maxOpenPreparedStatements.
 

getMaxWait
public long getMaxWait ()
 
Return:
Returns the maxWait.
 

getMinIdle
public int getMinIdle ()
 
Return:
Returns the minIdle.
 

getRemoveAbandonedTimeout
public long getRemoveAbandonedTimeout ()
 
Return:
Returns the removeAbandonedTimeout.
 

getValidationQuery
public String getValidationQuery ()
 
Return:
Returns the validationQuery.
 

isPoolPreparedStatements
public boolean isPoolPreparedStatements ()
 
Return:
Returns the poolPreparedStatements.
 

isRemoveAbandoned
public boolean isRemoveAbandoned ()
 
Return:
Returns the removeAbandoned.
 

isTestOnBorrow
public boolean isTestOnBorrow ()
 
Return:
Returns the testOnBorrow.
 

isTestOnReturn
public boolean isTestOnReturn ()
 
Return:
Returns the testOnReturn.
 

setActionOnFull
public void setActionOnFull (PoolingConfig.ActionOnFull actionOnFull)
 
Parameters:
actionOnFull The actionOnFull to set.
 

setDefaultTransactionIsolation
public void setDefaultTransactionIsolation (Integer defaultTransactionIsolation)
 
Parameters:
defaultTransactionIsolation The defaultTransactionIsolation to set.
 

setInitialSize
public void setInitialSize (Integer initialSize)
 
 

setMaxActive
public void setMaxActive (Integer maxActive)
 
Parameters:
maxActive The maxActive to set.
 

setMaxIdle
public void setMaxIdle (Integer maxIdle)
 
Parameters:
maxIdle The maxIdle to set.
 

setMaxOpenPreparedStatements
public void setMaxOpenPreparedStatements (Integer maxOpenPreparedStatements)
 
Parameters:
maxOpenPreparedStatements The maxOpenPreparedStatements to set.
 

setMaxWait
public void setMaxWait (Long maxWait)
 
Parameters:
maxWait The maxWait to set.
 

setMinIdle
public void setMinIdle (Integer minIdle)
 
Parameters:
minIdle The minIdle to set.
 

setPoolPreparedStatements
public void setPoolPreparedStatements (Boolean poolPreparedStatements)
 
Parameters:
poolPreparedStatements The poolPreparedStatements to set.
 

setRemoveAbandoned
public void setRemoveAbandoned (Boolean removeAbandoned)
 
Parameters:
removeAbandoned The removeAbandoned to set.
 

setRemoveAbandonedTimeout
public void setRemoveAbandonedTimeout (Long removeAbandonedTimeout)
 
Parameters:
removeAbandonedTimeout The removeAbandonedTimeout to set.
 

setTestOnBorrow
public void setTestOnBorrow (Boolean testOnBorrow)
 
Parameters:
testOnBorrow The testOnBorrow to set.
 

setTestOnReturn
public void setTestOnReturn (Boolean testOnReturn)
 
Parameters:
testOnReturn The testOnReturn to set.
 

setValidationQuery
public void setValidationQuery (String validationQuery)
 
Parameters:
validationQuery The validationQuery to set.
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD