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, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperFor, unwrappublic void close()
close 在接口中 AutoCloseablepublic Connection getConnection()
getConnection 在接口中 DataSourcepublic Connection getConnection(String username, String password)
getConnection 在接口中 DataSourcepublic PrintWriter getLogWriter()
getLogWriter 在接口中 CommonDataSourcepublic void setLogWriter(PrintWriter out)
setLogWriter 在接口中 CommonDataSourcepublic Logger getParentLogger()
getParentLogger 在接口中 CommonDataSourceCopyright © 2020 The Apache Software Foundation. All rights reserved.