- Enclosing interface:
QueryObserver
public static interface QueryObserver.TransactionObservation
Tracks a single observed physical transaction.
- Since:
- 1.13
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QueryObserver.TransactionObservationAn observation that ignores all signals. -
Method Summary
-
Field Details
-
NOOP
An observation that ignores all signals.
-
-
Method Details
-
error
Signals that completing the observed transaction failed.Invoked at most once, before
close(boolean).- Parameters:
throwable- the failure.
-
close
void close(boolean rolledBack) Signals that the observed transaction has completed.Invoked exactly once per observation.
- Parameters:
rolledBack- whether the transaction rolled back rather than committed.
-