- Enclosing interface:
QueryObserver
public static interface QueryObserver.Observation
Tracks a single observed statement execution.
- Since:
- 1.13
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QueryObserver.ObservationAn observation that ignores all signals. -
Method Summary
-
Field Details
-
NOOP
An observation that ignores all signals.
-
-
Method Details
-
error
Signals that the observed execution failed.Invoked at most once, before
close().- Parameters:
throwable- the failure.
-
close
void close()Signals that the observed execution has completed.Invoked exactly once per observation.
-