- Direct Known Subclasses:
Counter, Timer
@Introspected
public abstract class AbstractMetricEntry<T>
extends Object
-
-
Constructor Summary
Constructors
-
Method Summary
abstract void
abstract void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
name
@NotNull
protected @NotNull String name
-
-
-
Constructor Details
-
AbstractMetricEntry
protected AbstractMetricEntry(@NotNull
@NotNull String name,
String[] tags)
-
Method Details
-
getType
public abstract String getType()
-
-
-
getValue
public abstract T getValue()
-
-
increment
public abstract void increment(T value)