Package st.orm.spi

Interface QueryObserver.Observation

Enclosing interface:
QueryObserver

public static interface QueryObserver.Observation
Tracks a single observed statement execution.
Since:
1.13
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    An observation that ignores all signals.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Signals that the observed execution has completed.
    void
    error(Throwable throwable)
    Signals that the observed execution failed.
  • Field Details

  • Method Details

    • error

      void error(Throwable throwable)
      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.