Package org.apache.drill.exec.cache

Examples of org.apache.drill.exec.cache.Counter


    }
  }

  @Override
  public Counter getCounter(String name) {
    Counter c = counters.get(name);
    if (c == null) {
      counters.putIfAbsent(name, new LocalCounterImpl());
      return counters.get(name);
    } else {
      return c;
View Full Code Here


  }

  @Override
  public Counter getCounter(String name) {
    if(local){
        Counter c = localCounters.get(name);
        if (c == null) {
          localCounters.putIfAbsent(name, new LocalCounterImpl());
          return localCounters.get(name);
        } else {
          return c;
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.cache.Counter

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.