public interface QueryEntry extends TraceEntry
TraceEntry
that also captures query data for aggregation.Modifier and Type | Method and Description |
---|---|
Timer |
extend()
Example of query and subsequent iterating over results which goes back to database and pulls
more results.
|
void |
incrementCurrRow()
Call after successfully getting next row.
|
void |
rowNavigationAttempted() |
void |
setCurrRow(long row)
Row numbers start at 1 (not 0).
|
end, endWithError, endWithError, endWithError, endWithInfo, endWithStackTrace, getMessageSupplier
Timer extend()
ThreadContext.startAsyncTraceEntry(MessageSupplier, TimerName)
and
ThreadContext.startAsyncQueryEntry(String, String, QueryMessageSupplier, TimerName)
):
this method should not be used by a thread other than the one that created the async trace
entry.void incrementCurrRow()
void rowNavigationAttempted()
void setCurrRow(long row)
row
- Copyright © 2011–2017 Glowroot contributors. All rights reserved.