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