Package io.smallrye.stork.spi
Interface CallStatisticsCollector
-
public interface CallStatisticsCollectorIf you useServiceInstanceWithStatGathering, use an implementation of this class interface for actually collecting information about calls made
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidrecordEnd(long serviceInstanceId, Throwable error)default voidrecordReply(long serviceInstanceId, long timeInNanos)default voidrecordStart(long serviceInstanceId, boolean measureTime)
-
-
-
Method Detail
-
recordStart
default void recordStart(long serviceInstanceId, boolean measureTime)
-
recordReply
default void recordReply(long serviceInstanceId, long timeInNanos)
-
recordEnd
default void recordEnd(long serviceInstanceId, Throwable error)
-
-