Skip to content

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:

onSuccess

onSuccess(
  funcName: String,
  qe: QueryExecution,
  durationNs: Long): Unit

Used when:

Implementations

  • ObservationListener