Package com.onpositive.gae.profiling.rpc.DataStoreCallProcessor

Examples of com.onpositive.gae.profiling.rpc.DataStoreCallProcessor.QueryInterceptor


          int delta = 0;
          if (proc instanceof DataStoreCallProcessor) {
            DataStoreCallProcessor dscp = (DataStoreCallProcessor) proc;
            ICallInterceptor ici = dscp.getInterceptors().get(arg2);
            if (ici instanceof QueryInterceptor) {
              QueryInterceptor qi = (QueryInterceptor) ici;
              delta = qi.getCost();
              Profiler.incCPU(delta);
              //ici.stat(delta);
            } else if (ici instanceof RemoveInterCeptor) {
              RemoveInterCeptor ri = (RemoveInterCeptor) ici;
              delta = ri.getCost();
View Full Code Here


          int delta = 0;
          if (proc instanceof DataStoreCallProcessor) {
            DataStoreCallProcessor dscp = (DataStoreCallProcessor) proc;
            ICallInterceptor ici = dscp.getInterceptors().get(arg2);
            if (ici instanceof QueryInterceptor) {
              QueryInterceptor qi = (QueryInterceptor) ici;
              delta = qi.getCost();
              Profiler.incCPU(delta);
              //ici.stat(delta);
            } else if (ici instanceof RemoveInterCeptor) {
              RemoveInterCeptor ri = (RemoveInterCeptor) ici;
              delta = ri.getCost();
View Full Code Here

TOP

Related Classes of com.onpositive.gae.profiling.rpc.DataStoreCallProcessor.QueryInterceptor

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.