Class Meter
- java.lang.Object
-
- org.camunda.bpm.engine.impl.metrics.Meter
-
public class Meter extends Object
A Meter implementation based on AtomicLong- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected AtomicLong
counter
protected String
name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
get()
long
getAndClear()
String
getName()
void
mark()
void
markTimes(long times)
void
setName(String name)
-
-
-
Field Detail
-
counter
protected AtomicLong counter
-
name
protected String name
-
-
Constructor Detail
-
Meter
public Meter(String name)
-
-