abstract class CloseableCounterImpl extends Object implements DebugCloseable
Modifier and Type | Field and Description |
---|---|
protected AccumulatedDebugValue |
counter |
protected long |
nestedAmountToSubtract |
protected CloseableCounterImpl |
parent |
protected long |
start |
VOID_CLOSEABLE
Constructor and Description |
---|
CloseableCounterImpl(CloseableCounterImpl parent,
AccumulatedDebugValue counter) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
(package private) abstract long |
getCounterValue() |
protected final CloseableCounterImpl parent
protected final AccumulatedDebugValue counter
protected final long start
protected long nestedAmountToSubtract
CloseableCounterImpl(CloseableCounterImpl parent, AccumulatedDebugValue counter)
public void close()
close
in interface DebugCloseable
close
in interface AutoCloseable
abstract long getCounterValue()