public final class CircuitBreakerDataSource extends AbstractDataSourceAdapter implements AutoCloseable
| 构造器和说明 |
|---|
CircuitBreakerDataSource() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
Connection |
getConnection() |
Connection |
getConnection(String username,
String password) |
int |
getLoginTimeout() |
void |
setLoginTimeout(int seconds) |
getParentLoggerisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogWriter, setLogWriterisWrapperFor, unwrappublic Connection getConnection()
getConnection 在接口中 DataSourcepublic Connection getConnection(String username, String password)
getConnection 在接口中 DataSourcepublic int getLoginTimeout()
getLoginTimeout 在接口中 CommonDataSourcepublic void setLoginTimeout(int seconds)
setLoginTimeout 在接口中 CommonDataSourcepublic void close()
close 在接口中 AutoCloseableCopyright © 2021 The Apache Software Foundation. All rights reserved.