public class Counter extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected LongAdder |
count |
protected String |
countByPattern |
protected BiConsumer<String,LongAdder> |
fn |
protected String |
time |
protected final BiConsumer<String,LongAdder> fn
protected final String countByPattern
protected volatile String time
protected volatile LongAdder count
public Counter(String countByPattern, BiConsumer<String,LongAdder> fn)
public Counter()
Copyright © 2024. All rights reserved.