パッケージ dev.jfr4jdbc
クラス Jfr4JdbcDataSource42
- java.lang.Object
-
- dev.jfr4jdbc.Jfr4JdbcDataSource42
-
- すべての実装されたインタフェース:
Wrapper,CommonDataSource,DataSource
- 直系の既知のサブクラス:
Jfr4JdbcDataSource
public abstract class Jfr4JdbcDataSource42 extends Object implements DataSource
-
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 protected DataSourcedatasource
-
コンストラクタの概要
コンストラクタ 修飾子 コンストラクタ 説明 protectedJfr4JdbcDataSource42(DataSource datasource)protectedJfr4JdbcDataSource42(DataSource datasource, EventFactory factory)protectedJfr4JdbcDataSource42(DataSource datasource, EventFactory factory, String monitorLabel)protectedJfr4JdbcDataSource42(DataSource datasource, String monitorLabel)
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 ConnectiongetConnection()ConnectiongetConnection(String username, String password)intgetLoginTimeout()PrintWritergetLogWriter()LoggergetParentLogger()booleanisWrapperFor(Class<?> iface)voidsetLoginTimeout(int seconds)voidsetLogWriter(PrintWriter out)<T> Tunwrap(Class<T> iface)-
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
インタフェースから継承されたメソッド javax.sql.CommonDataSource
createShardingKeyBuilder
-
インタフェースから継承されたメソッド javax.sql.DataSource
createConnectionBuilder
-
-
-
-
フィールドの詳細
-
datasource
protected final DataSource datasource
-
-
コンストラクタの詳細
-
Jfr4JdbcDataSource42
protected Jfr4JdbcDataSource42(DataSource datasource)
-
Jfr4JdbcDataSource42
protected Jfr4JdbcDataSource42(DataSource datasource, String monitorLabel)
-
Jfr4JdbcDataSource42
protected Jfr4JdbcDataSource42(DataSource datasource, EventFactory factory)
-
Jfr4JdbcDataSource42
protected Jfr4JdbcDataSource42(DataSource datasource, EventFactory factory, String monitorLabel)
-
-
メソッドの詳細
-
getConnection
public Connection getConnection() throws SQLException
- 定義:
getConnectionインタフェース内DataSource- 例外:
SQLException
-
getConnection
public Connection getConnection(String username, String password) throws SQLException
- 定義:
getConnectionインタフェース内DataSource- 例外:
SQLException
-
getLogWriter
public PrintWriter getLogWriter() throws SQLException
- 定義:
getLogWriterインタフェース内CommonDataSource- 定義:
getLogWriterインタフェース内DataSource- 例外:
SQLException
-
setLogWriter
public void setLogWriter(PrintWriter out) throws SQLException
- 定義:
setLogWriterインタフェース内CommonDataSource- 定義:
setLogWriterインタフェース内DataSource- 例外:
SQLException
-
setLoginTimeout
public void setLoginTimeout(int seconds) throws SQLException- 定義:
setLoginTimeoutインタフェース内CommonDataSource- 定義:
setLoginTimeoutインタフェース内DataSource- 例外:
SQLException
-
getLoginTimeout
public int getLoginTimeout() throws SQLException- 定義:
getLoginTimeoutインタフェース内CommonDataSource- 定義:
getLoginTimeoutインタフェース内DataSource- 例外:
SQLException
-
getParentLogger
public Logger getParentLogger() throws SQLFeatureNotSupportedException
- 定義:
getParentLoggerインタフェース内CommonDataSource- 例外:
SQLFeatureNotSupportedException
-
unwrap
public <T> T unwrap(Class<T> iface) throws SQLException
- 定義:
unwrapインタフェース内Wrapper- 例外:
SQLException
-
isWrapperFor
public boolean isWrapperFor(Class<?> iface) throws SQLException
- 定義:
isWrapperForインタフェース内Wrapper- 例外:
SQLException
-
-