Class StopWatch

java.lang.Object
io.github.resilience4j.core.StopWatch

public class StopWatch extends Object
A simple StopWatch to measure the processing duration of a call.
  • Field Details

    • startTime

      private final Instant startTime
    • clock

      private Clock clock
  • Constructor Details

    • StopWatch

      StopWatch(Clock clock)
  • Method Details