Class WorkUnit


  • public class WorkUnit
    extends Object
    A work unit to execute.
    Author:
    Clement Pang (clement@sunnylabs.com)
    • Field Detail

      • id

        public UUID id
        Unique id for the work unit (used for reporting).
      • name

        public String name
        Friendly name for the work unit.
      • delay

        public long delay
        Seconds between work unit executions.
      • command

        public String command
        Command to execute.
      • stage

        public MetricStage stage
        Stage of this work unit -- trial, per-fetch, or active.
      • targets

        public Set<UUID> targets
        Targets that participate in this work unit.
    • Constructor Detail

      • WorkUnit

        public WorkUnit()