Package org.mockserver.metrics
Class Metrics
- java.lang.Object
-
- org.mockserver.metrics.Metrics
-
public class Metrics extends Object
- Author:
- jamesdbloom
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Metrics.Name
-
Constructor Summary
Constructors Constructor Description Metrics()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clear()
static void
clearActionMetrics()
static void
decrement(Metrics.Name name)
static void
decrement(Action.Type type)
static Integer
get(Metrics.Name name)
static void
increment(Metrics.Name name)
static void
increment(Action.Type type)
static void
set(Metrics.Name name, Integer value)
-
-
-
Method Detail
-
clear
public static void clear()
-
set
public static void set(Metrics.Name name, Integer value)
-
get
public static Integer get(Metrics.Name name)
-
increment
public static void increment(Metrics.Name name)
-
decrement
public static void decrement(Metrics.Name name)
-
increment
public static void increment(Action.Type type)
-
decrement
public static void decrement(Action.Type type)
-
clearActionMetrics
public static void clearActionMetrics()
-
-