public class ScheduleConnection
extends java.lang.Object
implements com.fr.third.v2.org.quartz.utils.ConnectionProvider
限定符和类型 | 字段和说明 |
---|---|
static int |
DEFAULT_DB_MAX_CACHED_STATEMENTS_PER_CONNECTION |
构造器和说明 |
---|
ScheduleConnection() |
限定符和类型 | 方法和说明 |
---|---|
java.sql.Connection |
getConnection() |
com.fr.third.alibaba.druid.pool.DruidDataSource |
getDatasource() |
java.lang.String |
getDiscardIdleConnectionsSeconds() |
java.lang.String |
getDriver() |
int |
getIdleConnectionValidationSeconds() |
java.lang.String |
getMaxCachedStatementsPerConnection() |
int |
getMaxConnections() |
java.lang.String |
getPassword() |
java.lang.String |
getURL() |
java.lang.String |
getUser() |
java.lang.String |
getValidationQuery() |
void |
initialize() |
boolean |
isValidateOnCheckout() |
void |
setDatasource(com.fr.third.alibaba.druid.pool.DruidDataSource datasource) |
void |
setDiscardIdleConnectionsSeconds(java.lang.String discardIdleConnectionsSeconds) |
void |
setDriver(java.lang.String driver) |
void |
setIdleConnectionValidationSeconds(int idleConnectionValidationSeconds) |
void |
setMaxCachedStatementsPerConnection(java.lang.String maxCachedStatementsPerConnection) |
void |
setMaxConnections(int maxConnection) |
void |
setPassword(java.lang.String password) |
void |
setURL(java.lang.String URL) |
void |
setUser(java.lang.String user) |
void |
setValidateOnCheckout(boolean validateOnCheckout) |
void |
setValidationQuery(java.lang.String validationQuery) |
void |
shutdown() |
public static final int DEFAULT_DB_MAX_CACHED_STATEMENTS_PER_CONNECTION
public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
在接口中 com.fr.third.v2.org.quartz.utils.ConnectionProvider
java.sql.SQLException
public void shutdown() throws java.sql.SQLException
shutdown
在接口中 com.fr.third.v2.org.quartz.utils.ConnectionProvider
java.sql.SQLException
public void initialize() throws java.sql.SQLException
initialize
在接口中 com.fr.third.v2.org.quartz.utils.ConnectionProvider
java.sql.SQLException
public java.lang.String getDriver()
public void setDriver(java.lang.String driver)
public java.lang.String getURL()
public void setURL(java.lang.String URL)
public java.lang.String getUser()
public void setUser(java.lang.String user)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public int getMaxConnections()
public void setMaxConnections(int maxConnection)
public java.lang.String getValidationQuery()
public void setValidationQuery(java.lang.String validationQuery)
public boolean isValidateOnCheckout()
public void setValidateOnCheckout(boolean validateOnCheckout)
public int getIdleConnectionValidationSeconds()
public void setIdleConnectionValidationSeconds(int idleConnectionValidationSeconds)
public java.lang.String getMaxCachedStatementsPerConnection()
public void setMaxCachedStatementsPerConnection(java.lang.String maxCachedStatementsPerConnection)
public java.lang.String getDiscardIdleConnectionsSeconds()
public void setDiscardIdleConnectionsSeconds(java.lang.String discardIdleConnectionsSeconds)
public com.fr.third.alibaba.druid.pool.DruidDataSource getDatasource()
public void setDatasource(com.fr.third.alibaba.druid.pool.DruidDataSource datasource)