public class Meter extends Object
Modifier and Type | Field and Description |
---|---|
protected AtomicLong |
counter |
protected String |
name |
Modifier and Type | Method and Description |
---|---|
long |
get() |
long |
getAndClear() |
String |
getName() |
void |
mark() |
void |
markTimes(long times) |
void |
setName(String name) |
protected AtomicLong counter
protected String name
public Meter(String name)
Copyright © 2019. All rights reserved.