Package io.github.resilience4j.core
Class StopWatch
- java.lang.Object
-
- io.github.resilience4j.core.StopWatch
-
public class StopWatch extends java.lang.Object
A simpleStopWatch
to measure the processing duration of a call.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StopWatch
start()
java.time.Duration
stop()
-
-
-
Method Detail
-
start
public static StopWatch start()
-
stop
public java.time.Duration stop()
-
-