Class NamedCountMetricSnapshotImpl
- java.lang.Object
-
- com.emc.mongoose.base.metrics.snapshot.NamedMetricSnapshotBase
-
- com.emc.mongoose.base.metrics.snapshot.NamedCountMetricSnapshotImpl
-
- All Implemented Interfaces:
CountMetricSnapshot,NamedMetricSnapshot,java.io.Serializable
- Direct Known Subclasses:
RateMetricSnapshotImpl,TimingMetricSnapshotImpl
public class NamedCountMetricSnapshotImpl extends NamedMetricSnapshotBase implements CountMetricSnapshot, NamedMetricSnapshot
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected longcount
-
Constructor Summary
Constructors Constructor Description NamedCountMetricSnapshotImpl(java.lang.String name, long count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount()-
Methods inherited from class com.emc.mongoose.base.metrics.snapshot.NamedMetricSnapshotBase
name, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.emc.mongoose.base.metrics.snapshot.NamedMetricSnapshot
name
-
-
-
-
Method Detail
-
count
public final long count()
- Specified by:
countin interfaceCountMetricSnapshot
-
-