@Test public void testDeleteTrackerJob() throws SchedulerException { ModelTracker modelTracker = new ModelTracker(); this.trackerScheduler.deleteTrackerJob(CORE_NAME, modelTracker); verify(spiedQuartzScheduler).deleteJob(any(JobKey.class)); }
public void deleteTrackerJob(String coreName, Tracker tracker) throws SchedulerException { String jobName = this.getJobName(tracker, coreName); this.scheduler.deleteJob(new JobKey(jobName, SOLR_JOB_GROUP)); }
SolrTrackerScheduler { public void deleteTrackerJob(String coreName, Tracker tracker) throws SchedulerException { String jobName = this.getJobName(tracker, coreName); this.scheduler.deleteJob(new JobKey(jobName, SOLR_JOB_GROUP)); } }
SolrTrackerScheduler { public void deleteTrackerJob(String coreName, Tracker tracker) throws SchedulerException { String jobName = this.getJobName(tracker, coreName); this.scheduler.deleteJob(new JobKey(jobName, SOLR_JOB_GROUP)); } SolrTrackerScheduler(AlfrescoCoreAdminHandler adminHandler); }
SolrTrackerScheduler { public void deleteTrackerJob(String coreName, Tracker tracker) throws SchedulerException { String jobName = this.getJobName(tracker, coreName); this.scheduler.deleteJob(new JobKey(jobName, SOLR_JOB_GROUP)); } 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 deleteTrackerJob(String coreName, Tracker tracker) throws SchedulerException { String jobName = this.getJobName(tracker, coreName); this.scheduler.deleteJob(new JobKey(jobName, SOLR_JOB_GROUP)); } 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; }