public final class CircuitBreakerDataSource extends AbstractUnsupportedOperationDataSource implements AutoCloseable
| 构造器和说明 |
|---|
CircuitBreakerDataSource() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
Connection |
getConnection() |
Connection |
getConnection(String username,
String password) |
PrintWriter |
getLogWriter() |
Logger |
getParentLogger() |
void |
setLogWriter(PrintWriter out) |
getLoginTimeout, setLoginTimeoutisWrapperFor, recordMethodInvocation, replayMethodsInvocation, throwSQLExceptionIfNecessary, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperFor, unwrappublic void close()
throws Exception
close 在接口中 AutoCloseableExceptionpublic Connection getConnection() throws SQLException
getConnection 在接口中 DataSourceSQLExceptionpublic Connection getConnection(String username, String password) throws SQLException
getConnection 在接口中 DataSourceSQLExceptionpublic PrintWriter getLogWriter() throws SQLException
getLogWriter 在接口中 CommonDataSourceSQLExceptionpublic void setLogWriter(PrintWriter out) throws SQLException
setLogWriter 在接口中 CommonDataSourceSQLExceptionpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger 在接口中 CommonDataSourceSQLFeatureNotSupportedExceptionCopyright © 2018. All rights reserved.