instrument method

Timing instrument (
  1. String correlationId,
  2. String name
)
inherited

Adds instrumentation to log calls and measure call time. It returns a Timing object that is used to end the time measurement.

  • correlationId (optional) transaction id to trace execution through call chain.
  • name a method name. Returns Timing object to end the time measurement.