Examples of deleteAll()


Examples of com.asakusafw.thundergate.runtime.cache.CacheStorage.deleteAll()

        try {
            CacheStorage storage = new CacheStorage(getConf(), cacheBaseUri);
            try {
                boolean succeed;
                if (RuntimeContext.get().canExecute(storage)) {
                    succeed = storage.deleteAll();
                } else {
                    succeed = true;
                }
                return succeed ? FileProtocol.Kind.RESPONSE_DELETED : FileProtocol.Kind.RESPONSE_NOT_FOUND;
            } finally {
View Full Code Here

Examples of com.example.mvc.repository.PersonRepository.deleteAll()

    public void contextInitialized(ServletContextEvent sce) {
        LOGGER.debug("initializing..");
        WebApplicationContext ctx = WebApplicationContextUtils
                .getWebApplicationContext(sce.getServletContext());
        PersonRepository personRepository = ctx.getBean(PersonRepository.class);
        personRepository.deleteAll();
        List<Person> persons = new ArrayList<Person>();

        int itemCount = 100;
        int chunkSize = 25;
        for (int i = 1; i <= itemCount; i++) {
View Full Code Here

Examples of com.gitblit.tickets.BranchTicketService.deleteAll()

        notificationManager,
        userManager,
        repositoryManager).start();

    if (deleteAll) {
      service.deleteAll(getRepository());
    }
    return service;
  }
}
View Full Code Here

Examples of com.gitblit.tickets.FileTicketService.deleteAll()

        notificationManager,
        userManager,
        repositoryManager).start();

    if (deleteAll) {
      service.deleteAll(getRepository());
    }
    return service;
  }
}
View Full Code Here

Examples of com.gitblit.tickets.ITicketService.deleteAll()

        // nothing to migrate
        continue;
      }

      // delete any tickets we may have in the output ticket service
      outputService.deleteAll(repository);

      for (long id : ids) {
        List<Change> journal = inputService.getJournal(repository, id);
        if (journal == null || journal.size() == 0) {
          continue;
View Full Code Here

Examples of com.gitblit.tickets.RedisTicketService.deleteAll()

        notificationManager,
        userManager,
        repositoryManager).start();

    if (deleteAll) {
      service.deleteAll(getRepository());
    }
    return service;
  }
}
View Full Code Here

Examples of com.google.appengine.api.memcache.AsyncMemcacheService.deleteAll()

    }

    _logger.info("Deleting counter keys (count: " + counterNames.size() + ")");
    AsyncMemcacheService memcacheService = MemcacheServiceFactory.getAsyncMemcacheService(namespace);

    return memcacheService.deleteAll(counterNames);
  }

  public static void clearMemCache() {
    MemcacheService memcacheService = MemcacheServiceFactory.getMemcacheService(NAMESPACE);
    memcacheService.clearAll();
View Full Code Here

Examples of com.google.appengine.api.memcache.MemcacheService.deleteAll()

    }
   
    _logger.info("Deleting counter keys (count: " + counterNames.size() + ")");
    MemcacheService memcacheService = MemcacheServiceFactory.getMemcacheService(namespace);
   
    memcacheService.deleteAll(counterNames);
  }
}
View Full Code Here

Examples of com.metrictracker.model.MetricGoalDao.deleteAll()

    List<MetricValue> metricValues = valueDao.listByProperty("metricKey", metric.getKey());
    valueDao.deleteAll(metricValues);

    MetricGoalDao goalDao = new MetricGoalDao();
    List<MetricGoal> metricGoals = goalDao.listByProperty("metricKey", metric.getKey());
    goalDao.deleteAll(metricGoals);

    dao.delete(metric);
    return null;
  }
View Full Code Here

Examples of com.metrictracker.model.MetricValueDao.deleteAll()

    MetricDao dao = new MetricDao();
    Metric metric = getMetric();

    MetricValueDao valueDao = new MetricValueDao();
    List<MetricValue> metricValues = valueDao.listByProperty("metricKey", metric.getKey());
    valueDao.deleteAll(metricValues);

    MetricGoalDao goalDao = new MetricGoalDao();
    List<MetricGoal> metricGoals = goalDao.listByProperty("metricKey", metric.getKey());
    goalDao.deleteAll(metricGoals);
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.