public final class CircuitBreakerDataSource extends AbstractDataSourceAdapter implements AutoCloseable
| Constructor and Description |
|---|
CircuitBreakerDataSource() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface DataSourcepublic Connection getConnection(String username, String password)
getConnection in interface DataSourcepublic int getLoginTimeout()
getLoginTimeout in interface CommonDataSourcepublic void setLoginTimeout(int seconds)
setLoginTimeout in interface CommonDataSourcepublic void close()
close in interface AutoCloseableCopyright © 2022 The Apache Software Foundation. All rights reserved.