Class Trace

All Implemented Interfaces:
Serializable, Copyable

public class Trace extends Replayer
Alias for the Replayer class
See Also:
  • Constructor Details

    • Trace

      public Trace(Object data)
      Creates a new trace from the specified data. The trace acts as a replayer for the provided data sequence.
      Parameters:
      data - the trace data to be replayed
  • Method Details

    • getFeatureName

      public String getFeatureName()
      "Trace", not the inherited "Replayer". getName() stays "Replayer" because it resolves the ProcessType and the JSON wire type, and a Trace replays samples exactly as a Replayer does. The registry name is what makes the Trace entry reachable; a solver that declares only "Replayer" still accepts the model, through the FeatureSet generalization table.
      Overrides:
      getFeatureName in class Distribution
      Returns:
      the FeatureSet entry naming this distribution