Package io.smallrye.stork.spi
Interface CallStatisticsCollector
-
public interface CallStatisticsCollector
If 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 void
storeResult(long id, long time, Throwable error)
invoked byServiceInstanceWithStatGathering
when a call is finished
-
-
-
Method Detail
-
storeResult
void storeResult(long id, long time, Throwable error)
invoked byServiceInstanceWithStatGathering
when a call is finished- Parameters:
id
- call identifiertime
- time that a call tookerror
- if the call failed, the error it failed with
-
-