Constructor and Description |
---|
JobStateRecorder(int numberOfRecentObservations) |
Modifier and Type | Method and Description |
---|---|
void |
addObservation(Job.State state) |
int |
getRecentObservationCount() |
int |
getRecentObservationCount(Job.State state) |
float |
getRecentObservationRate(Job.State state) |
int |
getTotalObservationCount() |
int |
getTotalObservationCount(Job.State state) |
float |
getTotalObservationRate(Job.State state) |
void |
reset()
Clear all data recorded so far.
|
public void addObservation(Job.State state)
addObservation
in interface Recorder<Job.State>
public int getTotalObservationCount(Job.State state)
public int getTotalObservationCount()
public float getTotalObservationRate(Job.State state)
public int getRecentObservationCount(Job.State state)
public int getRecentObservationCount()
public float getRecentObservationRate(Job.State state)
Copyright © 2017 levigo holding gmbh. All rights reserved.