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 Abstract Methods Modifier and Type Method Description voidstoreResult(long id, long time, Throwable error)invoked byServiceInstanceWithStatGatheringwhen a call is finished
-
-
-
Method Detail
-
storeResult
void storeResult(long id, long time, Throwable error)invoked byServiceInstanceWithStatGatheringwhen a call is finished- Parameters:
id- call identifiertime- time that a call tookerror- if the call failed, the error it failed with
-
-