Class SQLPoolSettings
- java.lang.Object
-
- cc.carm.plugin.minesql.api.source.SQLPoolSettings
-
public class SQLPoolSettings extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SQLPoolSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.Boolean
getAutoCommit()
@Nullable java.lang.Long
getIdleTimeout()
@Nullable java.lang.Integer
getMaxActive()
@Nullable java.lang.Integer
getMaxHoldTime()
@Nullable java.lang.Integer
getMaxPoolSize()
@Nullable java.lang.Long
getMaxWaitTime()
@Nullable java.lang.String
getPoolName()
@Nullable java.lang.Boolean
getReadOnly()
@Nullable java.lang.String
getSchema()
@Nullable java.lang.Long
getValidationInterval()
@Nullable java.lang.String
getValidationSQL()
@Nullable java.lang.Integer
getValidationTimeout()
SQLPoolSettings
setAutoCommit(java.lang.Boolean autoCommit)
SQLPoolSettings
setIdleTimeout(java.lang.Long idleTimeout)
SQLPoolSettings
setMaxActive(java.lang.Integer maxActive)
SQLPoolSettings
setMaxHoldTime(@Nullable java.lang.Integer maxHoldTime)
SQLPoolSettings
setMaxPoolSize(@Nullable java.lang.Integer maxPoolSize)
SQLPoolSettings
setMaxWaitTime(java.lang.Long maxWaitTime)
SQLPoolSettings
setPoolName(java.lang.String poolName)
SQLPoolSettings
setReadOnly(java.lang.Boolean readOnly)
SQLPoolSettings
setSchema(java.lang.String schema)
SQLPoolSettings
setValidationInterval(@Nullable java.lang.Long validationInterval)
SQLPoolSettings
setValidationSQL(java.lang.String validationSQL)
SQLPoolSettings
setValidationTimeout(java.lang.Integer validationTimeout)
-
-
-
Method Detail
-
getValidationSQL
@Nullable public @Nullable java.lang.String getValidationSQL()
-
setValidationSQL
public SQLPoolSettings setValidationSQL(java.lang.String validationSQL)
-
getValidationInterval
@Nullable public @Nullable java.lang.Long getValidationInterval()
-
setValidationInterval
public SQLPoolSettings setValidationInterval(@Nullable @Nullable java.lang.Long validationInterval)
-
getPoolName
@Nullable public @Nullable java.lang.String getPoolName()
-
setPoolName
public SQLPoolSettings setPoolName(java.lang.String poolName)
-
getSchema
@Nullable public @Nullable java.lang.String getSchema()
-
setSchema
public SQLPoolSettings setSchema(java.lang.String schema)
-
getAutoCommit
@Nullable public @Nullable java.lang.Boolean getAutoCommit()
-
setAutoCommit
public SQLPoolSettings setAutoCommit(java.lang.Boolean autoCommit)
-
getReadOnly
@Nullable public @Nullable java.lang.Boolean getReadOnly()
-
setReadOnly
public SQLPoolSettings setReadOnly(java.lang.Boolean readOnly)
-
getMaxHoldTime
@Nullable public @Nullable java.lang.Integer getMaxHoldTime()
-
setMaxHoldTime
public SQLPoolSettings setMaxHoldTime(@Nullable @Nullable java.lang.Integer maxHoldTime)
-
getValidationTimeout
@Nullable public @Nullable java.lang.Integer getValidationTimeout()
-
setValidationTimeout
public SQLPoolSettings setValidationTimeout(java.lang.Integer validationTimeout)
-
getIdleTimeout
@Nullable public @Nullable java.lang.Long getIdleTimeout()
-
setIdleTimeout
public SQLPoolSettings setIdleTimeout(java.lang.Long idleTimeout)
-
getMaxActive
@Nullable public @Nullable java.lang.Integer getMaxActive()
-
setMaxActive
public SQLPoolSettings setMaxActive(java.lang.Integer maxActive)
-
getMaxPoolSize
@Nullable public @Nullable java.lang.Integer getMaxPoolSize()
-
setMaxPoolSize
public SQLPoolSettings setMaxPoolSize(@Nullable @Nullable java.lang.Integer maxPoolSize)
-
getMaxWaitTime
@Nullable public @Nullable java.lang.Long getMaxWaitTime()
-
setMaxWaitTime
public SQLPoolSettings setMaxWaitTime(java.lang.Long maxWaitTime)
-
-