Class Statistics
- java.lang.Object
-
- com.amazonaws.xray.strategy.sampling.rule.Statistics
-
public class Statistics extends java.lang.Object
Per-Rule statistics maintained by the sampler. Used for making sampling decisions and for reporting rule usage to X-Ray.
-
-
Constructor Summary
Constructors Constructor Description Statistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBorrowed()
int
getRequests()
int
getSampled()
void
incBorrowed()
void
incRequest()
void
incSampled()
void
reset()
-