Class JcState
- java.lang.Object
-
- org.opendaylight.infrautils.jobcoordinator.internal.JcState
-
public final class JcState extends Object
-
-
Constructor Summary
Constructors Constructor Description 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).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFinishedJobCount()
double
getJobExecutionMovingAverage()
int
getPendingJobCount()
String
toString()
-
-
-
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.
-
-