KeeperContainerServiceImpl extends AbstractConsoleService<KeepercontainerTblDao> implements KeeperContainerService { @Override public List<KeepercontainerTbl> findKeeperCount(String dcName) { return queryHandler.handleQuery(new DalQuery<List<KeepercontainerTbl>>() { @Override public List<KeepercontainerTbl> doQuery() throws DalException { return dao.findKeeperCount(dcName, KeepercontainerTblEntity.READSET_KEEPER_COUNT); } }); }  @Override KeepercontainerTbl find(final long id); @Override List<KeepercontainerTbl> findAllByDcName(final String dcName); @Override List<KeepercontainerTbl> findAllActiveByDcName(String dcName); @Override List<KeepercontainerTbl> findKeeperCount(String dcName); @Override List<KeepercontainerTbl> findBestKeeperContainersByDcCluster(String dcName, String clusterName); @Override void addKeeperContainer(final KeeperContainerCreateInfo createInfo); @Override List<KeeperContainerCreateInfo> getDcAllKeeperContainers(String dc); @Override void updateKeeperContainer(KeeperContainerCreateInfo createInfo); @Override List<KeeperContainerInfoModel> findAllInfos();  }
@Test public void testKeeperCount(){ List<KeepercontainerTbl> keeperCount = keeperContainerService.findKeeperCount(dcNames[0]); keeperCount.forEach((keepercontainerTbl) -> { logger.info("{}", keepercontainerTbl); }); }