@Test public void testDeleteTrackerJobs() throws SchedulerException { ContentTracker contentTracker = new ContentTracker(); MetadataTracker metadataTracker = new MetadataTracker(); AclTracker aclTracker = new AclTracker(); this.trackerScheduler.deleteTrackerJobs(CORE_NAME, Arrays.asList(new Tracker[] { contentTracker, metadataTracker, aclTracker })); verify(spiedQuartzScheduler, times(3)).deleteJob(any(JobKey.class)); }
public void deleteTrackerJobs(String coreName, Collection<Tracker> trackers) throws SchedulerException { for (Tracker tracker : trackers) { deleteTrackerJob(coreName, tracker); } }
SolrTrackerScheduler { public void deleteTrackerJobs(String coreName, Collection<Tracker> trackers) throws SchedulerException { for (Tracker tracker : trackers) { deleteTrackerJob(coreName, tracker); } } }
SolrTrackerScheduler { public void deleteTrackerJobs(String coreName, Collection<Tracker> trackers) throws SchedulerException { for (Tracker tracker : trackers) { deleteTrackerJob(coreName, tracker); } } SolrTrackerScheduler(AlfrescoCoreAdminHandler adminHandler); }
SolrTrackerScheduler { public void deleteTrackerJobs(String coreName, Collection<Tracker> trackers) throws SchedulerException { for (Tracker tracker : trackers) { deleteTrackerJob(coreName, tracker); } } SolrTrackerScheduler(AlfrescoCoreAdminHandler adminHandler); void schedule(Tracker tracker, String coreName, Properties props); void shutdown(); void deleteTrackerJobs(String coreName, Collection<Tracker> trackers); void deleteJobForTrackerInstance(String coreName, Tracker tracker); void deleteTrackerJob(String coreName, Tracker tracker); boolean isShutdown(); void pauseAll(); int getJobsCount(); }
SolrTrackerScheduler { public void deleteTrackerJobs(String coreName, Collection<Tracker> trackers) throws SchedulerException { for (Tracker tracker : trackers) { deleteTrackerJob(coreName, tracker); } } SolrTrackerScheduler(AlfrescoCoreAdminHandler adminHandler); void schedule(Tracker tracker, String coreName, Properties props); void shutdown(); void deleteTrackerJobs(String coreName, Collection<Tracker> trackers); void deleteJobForTrackerInstance(String coreName, Tracker tracker); void deleteTrackerJob(String coreName, Tracker tracker); boolean isShutdown(); void pauseAll(); int getJobsCount(); static final String SOLR_JOB_GROUP; }