public class SolrTrackerScheduler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
protected org.quartz.Scheduler |
scheduler |
static String |
SOLR_JOB_GROUP |
| Constructor and Description |
|---|
SolrTrackerScheduler(AlfrescoCoreAdminHandler adminHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteJobForTrackerInstance(String coreName,
Tracker tracker)
Delete a Tracker Job ONLY if its exactly the same tracker instance that was passed in.
|
void |
deleteTrackerJob(String coreName,
Tracker tracker) |
void |
deleteTrackerJobs(String coreName,
Collection<Tracker> trackers) |
protected String |
getJobName(Tracker tracker,
String coreName) |
int |
getJobsCount() |
boolean |
isShutdown() |
void |
pauseAll() |
void |
schedule(Tracker tracker,
String coreName,
Properties props)
Schedules individual trackers based on the solrcore properties.
|
void |
shutdown() |
public static final String SOLR_JOB_GROUP
protected static final org.slf4j.Logger log
protected org.quartz.Scheduler scheduler
public SolrTrackerScheduler(AlfrescoCoreAdminHandler adminHandler)
public void schedule(Tracker tracker, String coreName, Properties props)
tracker - coreName - props - public void shutdown()
throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionpublic void deleteTrackerJobs(String coreName, Collection<Tracker> trackers) throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionpublic void deleteJobForTrackerInstance(String coreName, Tracker tracker)
coreName - tracker - Specific instance of a trackerpublic void deleteTrackerJob(String coreName, Tracker tracker) throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionpublic boolean isShutdown()
throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionpublic void pauseAll()
throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionpublic int getJobsCount()
throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.