[Batchserver-cvs] batchserver/src/org/jmonks/batchserver/framework/controller JobController.java,1.9
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-05-24 14:34:22
|
Update of /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/controller In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15837/jmonks/batchserver/framework/controller Modified Files: JobController.java Log Message: no message Index: JobController.java =================================================================== RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/controller/JobController.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** JobController.java 20 May 2006 04:40:43 -0000 1.9 --- JobController.java 24 May 2006 14:33:59 -0000 1.10 *************** *** 1,10 **** package org.jmonks.batchserver.framework.controller; - import java.io.ObjectInputStream; - import java.io.ObjectOutputStream; import org.apache.log4j.Level; import org.apache.log4j.Logger; ! import org.jmonks.batchserver.framework.config.*; ! import org.jmonks.batchserver.framework.*; import org.jmonks.batchserver.framework.common.ErrorCode; import org.jmonks.batchserver.framework.management.JobMonitorMBean; import org.jmonks.batchserver.framework.management.JobManagerMBean; --- 1,10 ---- package org.jmonks.batchserver.framework.controller; import org.apache.log4j.Level; import org.apache.log4j.Logger; ! import org.jmonks.batchserver.framework.JobStatistics; ! import org.jmonks.batchserver.framework.LoggingManager; import org.jmonks.batchserver.framework.common.ErrorCode; + import org.jmonks.batchserver.framework.config.ConfigurationException; + import org.jmonks.batchserver.framework.config.JobControllerConfig; import org.jmonks.batchserver.framework.management.JobMonitorMBean; import org.jmonks.batchserver.framework.management.JobManagerMBean; *************** *** 162,164 **** --- 162,173 ---- */ public abstract ErrorCode process(); + + /** + * Returns the statistics of this job. Statistics should be queried only + * after the completion of controller processing. Querying before the completion + * of processing always returns null. + * + * @return Returns the statistics of this job. + */ + public abstract JobStatistics getJobStatistics(); } |