QueryExecutionListener¶
QueryExecutionListener
is an abstraction of query execution listeners that can intercept onFailure and onSuccess events.
Contract¶
onFailure¶
onFailure(
funcName: String,
qe: QueryExecution,
exception: Exception): Unit
Used when:
ExecutionListenerBus
is requested to doPostEvent
onSuccess¶
onSuccess(
funcName: String,
qe: QueryExecution,
durationNs: Long): Unit
Used when:
ExecutionListenerBus
is requested to doPostEvent
Implementations¶
ObservationListener