Type Parameters:
T - a target to evaluate against
All Known Implementing Classes:
TargetApplicationsNamespace, TargetApplicationsNamespace.All, TargetApplicationsNamespace.AppID, TargetApplicationsNamespace.AppTag, TargetApplicationsNamespace.NotSelf, TargetApplicationsNamespace.Self

public interface Evaluable<T>
A class implements Evaluable interface represents the internal state of the class can be changed against a given target.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    evaluate(T target)
    Evaluate against a given target, this process changes the internal state of current class.
  • Method Details

    • evaluate

      void evaluate(T target) throws org.apache.hadoop.yarn.exceptions.YarnException
      Evaluate against a given target, this process changes the internal state of current class.
      Parameters:
      target - a generic type target that impacts this evaluation.
      Throws:
      org.apache.hadoop.yarn.exceptions.YarnException - if evaluate error.