Package com.avaje.ebeaninternal.server.util

Examples of com.avaje.ebeaninternal.server.util.LongAdder


    lastQueryTime = System.currentTimeMillis();
   
    if (origins != null && objectGraphNode != null) {
      // Maintain the origin points this query fires from
      // with a simple counter
      LongAdder counter = origins.get(objectGraphNode);
      if (counter == null) {
        // race condition - we can miss counters here but going
        // to live with that. Don't want to lock/synchronize etc
        counter = new LongAdder();
        origins.put(objectGraphNode, counter);
      }
      counter.increment();
    }
  }
View Full Code Here

TOP

Related Classes of com.avaje.ebeaninternal.server.util.LongAdder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.