You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2015/12/09 10:04:20 UTC

svn commit: r1718779 - /sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/jobs/JobManager.java

Author: cziegeler
Date: Wed Dec  9 09:04:20 2015
New Revision: 1718779

URL: http://svn.apache.org/viewvc?rev=1718779&view=rev
Log:
Update javadocs

Modified:
    sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/jobs/JobManager.java

Modified: sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/jobs/JobManager.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/jobs/JobManager.java?rev=1718779&r1=1718778&r2=1718779&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/jobs/JobManager.java (original)
+++ sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/jobs/JobManager.java Wed Dec  9 09:04:20 2015
@@ -25,8 +25,17 @@ import aQute.bnd.annotation.ProviderType
 
 
 /**
- * The job manager is the heart of the job event handling.
- * It can be used to manage and monitor the queues.
+ * The job manager is the heart of the job processing.
+ * <p>
+ * The job manager allows to create new jobs, search for
+ * jobs and get statistics about the current state.
+ * <p>
+ * The terminology used in the job manager is slightly
+ * different from common terminology:
+ * Each job has a topic and a topic is associated with
+ * a queue. Queues can be created through configuration
+ * and each queue can process one or more topics.
+ *
  * @since 3.0
  */
 @ProviderType
@@ -120,9 +129,9 @@ public interface JobManager {
     boolean removeJobById(String jobId);
 
     /**
-     * Find a job - either scheduled or active.
+     * Find a job - either queued or active.
      *
-     * This method searches for an event with the given topic and filter properties. If more than one
+     * This method searches for a job with the given topic and filter properties. If more than one
      * job matches, the first one found is returned which could be any of the matching jobs.
      *
      * The returned job object is a snapshot of the job state taken at the time of the call. Updates