java.lang.Object
org.eclipse.persistence.internal.helper.QueryCounter

public class QueryCounter extends Object
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 Details

    • QueryCounter

      public QueryCounter()
  • Method Details

    • getCount

      public static long getCount()