Class QueryCounter


  • public class QueryCounter
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      QueryCounter()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long getCount()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QueryCounter

        public QueryCounter()
    • Method Detail

      • getCount

        public static long getCount()