Package io.quarkus.agroal.runtime
Class UnconfiguredDataSource
java.lang.Object
io.quarkus.agroal.runtime.UnconfiguredDataSource
- All Implemented Interfaces:
io.agroal.api.AgroalDataSource,Serializable,AutoCloseable,Wrapper,CommonDataSource,DataSource
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.agroal.api.AgroalDataSource
io.agroal.api.AgroalDataSource.FlushMode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush(io.agroal.api.AgroalDataSource.FlushMode mode) io.agroal.api.configuration.AgroalDataSourceConfigurationgetConnection(String username, String password) intio.agroal.api.AgroalDataSourceMetricsList<io.agroal.api.AgroalPoolInterceptor>booleanisWrapperFor(Class<?> iface) voidsetLoginTimeout(int seconds) voidsetLogWriter(PrintWriter out) voidsetPoolInterceptors(Collection<? extends io.agroal.api.AgroalPoolInterceptor> arg0) void<T> TMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.agroal.api.AgroalDataSource
isHealthyMethods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilderMethods inherited from interface javax.sql.DataSource
createConnectionBuilder
-
Constructor Details
-
UnconfiguredDataSource
-
-
Method Details
-
throwException
public void throwException() -
getConfiguration
public io.agroal.api.configuration.AgroalDataSourceConfiguration getConfiguration()- Specified by:
getConfigurationin interfaceio.agroal.api.AgroalDataSource
-
getMetrics
public io.agroal.api.AgroalDataSourceMetrics getMetrics()- Specified by:
getMetricsin interfaceio.agroal.api.AgroalDataSource
-
flush
public void flush(io.agroal.api.AgroalDataSource.FlushMode mode) - Specified by:
flushin interfaceio.agroal.api.AgroalDataSource
-
setPoolInterceptors
- Specified by:
setPoolInterceptorsin interfaceio.agroal.api.AgroalDataSource
-
getPoolInterceptors
- Specified by:
getPoolInterceptorsin interfaceio.agroal.api.AgroalDataSource
-
close
public void close()- Specified by:
closein interfaceio.agroal.api.AgroalDataSource- Specified by:
closein interfaceAutoCloseable
-
getConnection
- Specified by:
getConnectionin interfaceDataSource- Throws:
SQLException
-
getConnection
- Specified by:
getConnectionin interfaceDataSource- Throws:
SQLException
-
getLogWriter
- Specified by:
getLogWriterin interfaceCommonDataSource- Specified by:
getLogWriterin interfaceDataSource- Throws:
SQLException
-
setLogWriter
- Specified by:
setLogWriterin interfaceCommonDataSource- Specified by:
setLogWriterin interfaceDataSource- Throws:
SQLException
-
setLoginTimeout
- Specified by:
setLoginTimeoutin interfaceCommonDataSource- Specified by:
setLoginTimeoutin interfaceDataSource- Throws:
SQLException
-
getLoginTimeout
- Specified by:
getLoginTimeoutin interfaceCommonDataSource- Specified by:
getLoginTimeoutin interfaceDataSource- Throws:
SQLException
-
getParentLogger
- Specified by:
getParentLoggerin interfaceCommonDataSource- Throws:
SQLFeatureNotSupportedException
-
unwrap
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-