public abstract class IdAssigningThreadLocal<T> extends ThreadLocal<T>
ThreadLocal which additionally assigns a zero-based id to each thread-local value created in
initialValue(int).| Constructor and Description |
|---|
IdAssigningThreadLocal() |
| Modifier and Type | Method and Description |
|---|---|
void |
resetId()
Resets the id counter so that the next call to
initialValue(int) will get 0. |
get, remove, set, withInitialpublic void resetId()
initialValue(int) will get 0.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.