Top Description Fields Constructors Methods
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 TypeField and Description
private static volatile long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static long
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

countback to summary
private static volatile long count

Constructor Detail

QueryCounterback to summary
public QueryCounter()

Method Detail

getCountback to summary
public static long getCount()