Class CascadingStats is the base class for all Cascading statistics gathering. It also reports the status of core elements that have state.
There are eight states the stats object reports; PENDING, SKIPPED, STARTED, SUBMITTED, RUNNING, SUCCESSFUL, STOPPED, and FAILED.
- {@code pending} - when the Flow or Cascade has yet to start.
- {@code skipped} - when the Flow was skipped by the parent Cascade.
- {@code started} - when {@link cascading.flow.Flow#start()} was called.
- {@code submitted} - when the Step was submitted to the underlying platform for work.
- {@code running} - when the Flow or Cascade is executing a workload.
- {@code stopped} - when the user calls {@link cascading.flow.Flow#stop()} on the Flow or Cascade.
- {@code failed} - when the Flow or Cascade threw an error and failed to finish the workload.
- {@code successful} - when the Flow or Cascade naturally completed its workload without failure.
CascadingStats also reports four unique timestamps.
- {@code startTime} - when the {@code start()} method was called.
- {@code submitTime} - when the unit of work was actually submitted for execution. Not supported by all sub-classes.
- {@code runTime} - when the unit of work actually began to execute work. This value may be affected by any "polling interval" in place.
- {@code finishedTime} - when all work has completed successfully, failed, or stopped.
A unit of work is considered {@code finished} when the Flow or Cascade is no longer processing a workload and {@code successful}, {@code failed}, or {@code stopped} is true.
@see CascadeStats
@see FlowStats
@see FlowStepStats