Interface Observation

All Superinterfaces:
ImmutableObservation
All Known Subinterfaces:
BoltExchangeObservation, HttpExchangeObservation

public interface Observation extends ImmutableObservation
An observation of execution.
Since:
7.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Signals that an error has occured during execution.
    void
    Stops the observation.
  • Method Details

    • error

      Observation error(Throwable error)
      Signals that an error has occured during execution.
      Parameters:
      error - the error
      Returns:
      this observation
    • stop

      void stop()
      Stops the observation.