public class ProxoolDataSource extends Object implements DataSource
| 构造器和说明 |
|---|
ProxoolDataSource() |
ProxoolDataSource(String alias) |
public ProxoolDataSource()
public ProxoolDataSource(String alias)
public Connection getConnection() throws SQLException
getConnection 在接口中 DataSourceSQLExceptionDataSource.getConnection()public Object getObjectInstance(Object refObject, Name name, Context context, Hashtable hashtable) throws Exception
Exceptionpublic String getAlias()
public void setAlias(String alias)
public String getDriverUrl()
public void setDriverUrl(String url)
public String getDriver()
public void setDriver(String driver)
public long getMaximumConnectionLifetime()
public void setMaximumConnectionLifetime(int maximumConnectionLifetime)
public int getPrototypeCount()
public void setPrototypeCount(int prototypeCount)
public int getMinimumConnectionCount()
public void setMinimumConnectionCount(int minimumConnectionCount)
public int getMaximumConnectionCount()
public void setMaximumConnectionCount(int maximumConnectionCount)
public long getHouseKeepingSleepTime()
public void setHouseKeepingSleepTime(int houseKeepingSleepTime)
public int getSimultaneousBuildThrottle()
public void setSimultaneousBuildThrottle(int simultaneousBuildThrottle)
public long getRecentlyStartedThreshold()
public void setRecentlyStartedThreshold(int recentlyStartedThreshold)
public long getOverloadWithoutRefusalLifetime()
public void setOverloadWithoutRefusalLifetime(int overloadWithoutRefusalLifetime)
public long getMaximumActiveTime()
public void setMaximumActiveTime(long maximumActiveTime)
public boolean isVerbose()
public void setVerbose(boolean verbose)
public boolean isTrace()
public void setTrace(boolean trace)
public String getStatistics()
public void setStatistics(String statistics)
public String getStatisticsLogLevel()
public void setStatisticsLogLevel(String statisticsLogLevel)
public String getFatalSqlExceptionsAsString()
public void setFatalSqlExceptionsAsString(String fatalSqlExceptionsAsString)
public String getFatalSqlExceptionWrapperClass()
public void setFatalSqlExceptionWrapperClass(String fatalSqlExceptionWrapperClass)
public String getHouseKeepingTestSql()
public void setHouseKeepingTestSql(String houseKeepingTestSql)
public String getUser()
public void setUser(String user)
public String getPassword()
public void setPassword(String password)
public boolean isJmx()
public void setJmx(boolean jmx)
public String getJmxAgentId()
public void setJmxAgentId(String jmxAgentId)
public boolean isTestBeforeUse()
public void setTestBeforeUse(boolean testBeforeUse)
public boolean isTestAfterUse()
public void setTestAfterUse(boolean testAfterUse)
public void setDelegateProperties(String properties)
foo=1,bar=trueproperties - a comma delimited list of name=value pairsConnectionPoolDefinitionIF.getDelegateProperties()public PrintWriter getLogWriter() throws SQLException
getLogWriter 在接口中 CommonDataSourceSQLExceptionpublic int getLoginTimeout()
throws SQLException
getLoginTimeout 在接口中 CommonDataSourceSQLExceptionpublic void setLogWriter(PrintWriter logWriter) throws SQLException
setLogWriter 在接口中 CommonDataSourceSQLExceptionpublic void setLoginTimeout(int loginTimeout)
throws SQLException
setLoginTimeout 在接口中 CommonDataSourceSQLExceptionpublic Connection getConnection(String s, String s1) throws SQLException
getConnection 在接口中 DataSourceSQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap 在接口中 WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor 在接口中 WrapperSQLExceptionpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger 在接口中 CommonDataSourceSQLFeatureNotSupportedExceptionCopyright © 2024. All rights reserved.