Esempio n. 1
0
 /**
  * Increment a counter based on a given {@link MonitorConfig} by a given delta.
  *
  * @param config The monitoring config
  * @param delta The amount added to the current value
  */
 public static void increment(MonitorConfig config, long delta) {
   INSTANCE.get(config).increment(delta);
 }
Esempio n. 2
0
 /** Increment a counter based on a given {@link MonitorConfig}. */
 public static void increment(MonitorConfig config) {
   INSTANCE.get(config).increment();
 }