Class JcState


  • public final class JcState
    extends Object
    • Constructor Detail

      • JcState

        public JcState​(int pendingJobCount,
                       int finishedJobCount,
                       double jobExecutionMovingAverage)
        JcState is used when the user requests for the JcStatus, a map is created with the hashkey and the jobQueue info(only pendingJobCount, finishedJobCount and jobExecutionMovingAverage). So this jobQueue info is stored in JcState Object.
    • Method Detail

      • getPendingJobCount

        public int getPendingJobCount()
      • getFinishedJobCount

        public int getFinishedJobCount()
      • getJobExecutionMovingAverage

        public double getJobExecutionMovingAverage()