public interface StatsdWrapper
Modifier and Type | Method and Description |
---|---|
void |
increment(String key,
int amount)
Runs a StatsD increment in a safe way.
|
void |
time(String key,
long duration)
Runs a StatsD timer state in a safe way.
|
void increment(String key, int amount)
key
- the bucket keyamount
- amount to incrementvoid time(String key, long duration)
key
- the bucket keyduration
- the durationCopyright © 2016–2020. All rights reserved.