CommonDataSource (Java SE 26 & JDK 26)
- All Known Subinterfaces:
ConnectionPoolDataSource, DataSource, XADataSource
-
Method Summary
Creates a new
ShardingKeyBuilderinstanceintGets the maximum time in seconds that this data source can wait while attempting to connect to a database.
Retrieves the log writer for this
DataSourceobject.Return the parent Logger of all the Loggers used by this data source.
voidsetLoginTimeout(int seconds) Sets the maximum time in seconds that this data source will wait while attempting to connect to a database.
voidSets the log writer for this
DataSourceobject to the givenjava.io.PrintWriterobject.
-
Method Details
-
getLogWriter
-
setLogWriter
-
setLoginTimeout
-
getLoginTimeout
-
getParentLogger
-
createShardingKeyBuilder
-