org.eclipse.persistence.internal.helper
public Class QueryCounter
extends Object
- Class Inheritance
-
INTERNAL:
This counter is used by the sessions to assign individual id's to all queries.
It is not synchronized because ++ with volatile is atomic, and queries executing at the same time do not require to refresh twice.
It is part of the fix for Bug#2698903 which arose from the fix for BUG#2612628
Field Summary
| Modifier and Type | Field and Description
|
|---|
| private static volatile long |
|
Constructor Summary
| Access | Constructor and Description
|
|---|
| public |
|