org.rhq.enterprise.server.scheduler.jobs
Class PurgePluginsJob
java.lang.Object
org.rhq.enterprise.server.scheduler.jobs.AbstractStatefulJob
org.rhq.enterprise.server.scheduler.jobs.PurgePluginsJob
- All Implemented Interfaces:
- org.quartz.Job, org.quartz.StatefulJob
public class PurgePluginsJob
- extends AbstractStatefulJob
This job purges plugins from the database asynchronously. It queries for plugins that are scheduled to be purged.
A plugin is considered a candidate for purging when its status is DELETED and its ctime
is set to Plugin.PURGED. A plugin is only purged when all of the resource types defined by the plugin have
already been purged. Puring resource types is performed by PurgeResourceTypesJob.
|
Method Summary |
void |
executeJobCode(org.quartz.JobExecutionContext context)
Subclasses should implement this method to perform the actual job. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PurgePluginsJob
public PurgePluginsJob()
executeJobCode
public void executeJobCode(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
- Description copied from class:
AbstractStatefulJob
- Subclasses should implement this method to perform the actual job.
- Specified by:
executeJobCode in class AbstractStatefulJob
- Throws:
org.quartz.JobExecutionException
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.