Class StatementFinalizer.StatementEntry
java.lang.Object
org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer.StatementEntry
- Enclosing class:
StatementFinalizer
Entry that tracks a statement and its allocation stack.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the stack trace from when this statement was created.Returns the tracked statement.
-
Constructor Details
-
StatementEntry
Creates a new StatementEntry.- Parameters:
statement- the statement to track
-
-
Method Details
-
getStatement
Returns the tracked statement.- Returns:
- the statement, or null if it has been garbage collected
-
getAllocationStack
Returns the stack trace from when this statement was created.- Returns:
- the allocation stack trace, or null if tracing is disabled
-