Module org.eclipse.persistence.core
Class QueryCounter
java.lang.Object
org.eclipse.persistence.internal.helper.QueryCounter
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
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
QueryCounter
public QueryCounter()
-
-
Method Details
-
getCount
public static long getCount()
-