public class PreparedStatementTracing extends Object
PreparedStatementTracing create an exit span when the client call the method in the class that extend PreparedStatement.| Modifier and Type | Class and Description |
|---|---|
static interface |
PreparedStatementTracing.Executable<R> |
| Constructor and Description |
|---|
PreparedStatementTracing() |
| Modifier and Type | Method and Description |
|---|---|
static <R> R |
execute(PreparedStatement realStatement,
ConnectionInfo connectInfo,
String method,
String sql,
PreparedStatementTracing.Executable<R> exec) |
public static <R> R execute(PreparedStatement realStatement, ConnectionInfo connectInfo, String method, String sql, PreparedStatementTracing.Executable<R> exec) throws SQLException
SQLExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.