Get a Counter with the description
Get a Counter with the description
The StatsReceiver implements these.
The StatsReceiver implements these. They provide the cumulated gauges.
Specifies the representative receiver.
Specifies the representative receiver. This is in order to expose an object we can use for comparison so that global stats are only reported once per receiver.
Get a Stat with the description
Get a Stat with the description
Add the function f as a gauge with the given name. The
returned gauge value is only weakly referenced by the
StatsReceiver, and if garbage collected will cease to be a part
of this measurement: thus, it needs to be retained by the
caller. Immortal measurements are made with
provideGauge. As
with
provideGauge, gauges with equal names are added
together.
Add the function f as a gauge with the given name. The
returned gauge value is only weakly referenced by the
StatsReceiver, and if garbage collected will cease to be a part
of this measurement: thus, it needs to be retained by the
caller. Immortal measurements are made with
provideGauge. As
with
provideGauge, gauges with equal names are added
together.
Get a Counter with the description.
Get a Counter with the description. This method is a convenience for Java program.
Register a function to be periodically measured.
Register a function to be periodically measured. This measurement exists in perpetuity. Measurements under the same name are added together.
Prepend namespace to the names of this receiver.
Prepend namespace to the names of this receiver.
Prepend a suffix value to the next scope stats.
Prepend a suffix value to the next scope stats.scopeSuffix("toto").scope("client").counter("adds") will generate /client/toto/adds
Get a Stat with the description.
Get a Stat with the description. This method is a convenience for Java programs.
Time a given function in milliseconds
Time a given function in milliseconds
Time a given function using the given TimeUnit
Time a given function using the given TimeUnit
Time a given function using the given TimeUnit
Time a given function using the given TimeUnit
Time a given future in milliseconds
Time a given future in milliseconds
Time a given future using the given TimeUnit
Time a given future using the given TimeUnit
Time a given future using the given TimeUnit
Time a given future using the given TimeUnit