Class SimplePullMeasure<Value>

Type Parameters:
Value -
All Implemented Interfaces:
Serializable, Measure<Value>, PullMeasure<Value>, DescribedEntity
Direct Known Subclasses:
DurationMeasure, ListenerTimeMeasure

public abstract class SimplePullMeasure<Value> extends SimpleMeasure<Value> implements PullMeasure<Value>
SimplePullMeasure is a basic implementation of PullMeasure. As a PullMeasure, it is intended to be used by external entities through its PullMeasure.get() method. This method must be implemented by the algorithm to specify how the value can be retrieved.
Author:
Matthieu Vergne invalid input: '<'matthieu.vergne@gmail.com>
See Also:
  • Constructor Details

    • SimplePullMeasure

      public SimplePullMeasure(String name, String description)
      Create a SimplePullMeasure with a given name and a given description.
      Parameters:
      name - the name of the Measure
      description - the description of the Measure
    • SimplePullMeasure

      public SimplePullMeasure(String name)
      Create a SimplePullMeasure with a given name and a null description.
      Parameters:
      name - the name of the Measure
    • SimplePullMeasure

      public SimplePullMeasure()
      Create a SimplePullMeasure with the class name as its name and a null description.