| Modifier and Type | Field and Description |
|---|---|
private MonitoredCounter |
masterCounter |
private ThreadCounter |
threadCounter |
NULL_COUNTER| Constructor and Description |
|---|
CounterPair(MonitoredCounter masterCounter,
ThreadCounter threadCounter) |
| Modifier and Type | Method and Description |
|---|---|
MonitoredCounter |
getMasterCounter() |
ThreadCounter |
getThreadCounter() |
void |
inc() |
void |
inc(long increment) |
private final MonitoredCounter masterCounter
private final ThreadCounter threadCounter
CounterPair(MonitoredCounter masterCounter, ThreadCounter threadCounter)
public ThreadCounter getThreadCounter()
public MonitoredCounter getMasterCounter()