![JAR search and dependency download from the Maven repository](/logo.png)
com.timgroup.statsd.NoOpStatsDClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-statsd-client Show documentation
Show all versions of java-statsd-client Show documentation
A tiny library allowing Java applications to communicate with statsd instances easily.
package com.timgroup.statsd;
/**
* A No-Op StatsDClient, which can be substituted in when metrics are not
* required.
*
* @author Tom Denley
*
*/
public final class NoOpStatsDClient implements StatsDClient {
@Override public void stop() { }
@Override public void count(String aspect, int delta) { }
@Override public void incrementCounter(String aspect) { }
@Override public void increment(String aspect) { }
@Override public void decrementCounter(String aspect) { }
@Override public void decrement(String aspect) { }
@Override public void recordGaugeValue(String aspect, int value) { }
@Override public void gauge(String aspect, int value) { }
@Override public void recordExecutionTime(String aspect, int timeInMs) { }
@Override public void time(String aspect, int value) { }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy