public static class ThreadCounter.ThreadLocalCounter extends ThreadValue.ThreadLocalMap<AtomicLong> implements ThreadCounter
ThreadCounter.ThreadLocalCounter, ThreadCounter.ThreadMapCounter
ThreadValue.ThreadLocalMap<T>, ThreadValue.WeakReferenceThreadMap<T>
threadLocal
NULL_COUNTER
Constructor and Description |
---|
ThreadLocalCounter() |
Modifier and Type | Method and Description |
---|---|
void |
inc() |
void |
inc(long increment) |
asMap, canRetrieveAcrossThreads, get, getForThread
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asMap, canRetrieveAcrossThreads, get, getForThread
Copyright © 2009-2021 Performance Co-Pilot. All Rights Reserved.