Examples of DaoStat


Examples of org.vosao.dao.DaoStat

  }

  @Override
  public DaoStat getDaoStat() {
    if (daoStat == null) {
      daoStat = new DaoStat();
    }
    return daoStat;
  }
View Full Code Here

Examples of org.vosao.dao.DaoStat

    private void endProfile(String url) {
        logger.info(url);
        logger.info("local cache hits: " + (
                getBusiness().getSystemService().getCache().getLocalHits()
                - localHits));
        DaoStat daoStat2 = getDao().getDaoStat();
        logger.info("memcache hits: " + (
            getBusiness().getSystemService().getCache().getCacheHits()
            - cacheHits));
        logger.info("dao get calls: "
            + (daoStat2.getGetCalls() - daoStat.getGetCalls())
            + " ,dao query calls: "
            + (daoStat2.getQueryCalls() - daoStat.getQueryCalls())
            + " ,entity cache hits: "
            + (daoStat2.getEntityCacheHits() - daoStat.getEntityCacheHits())
            + " ,query cache hits: "
            + (daoStat2.getQueryCacheHits() - daoStat.getQueryCacheHits())
        );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.