java.lang.Object
com.aoindustries.aoserv.cluster.analyze.Result<T>
com.aoindustries.aoserv.cluster.analyze.ObjectResult<T>
All Implemented Interfaces:
Comparable<Result<?>>

public class ObjectResult<T> extends Result<T>
Stores an AlertLevel, a value, and a textual message.
Author:
AO Industries, Inc.
  • Method Details

    • getValue

      public T getValue()
      Gets the current value for the resource or null if unavailable.
      Specified by:
      getValue in class Result<T>
    • getMaxValue

      public T getMaxValue()
      Gets the maximum value for the resource or null if unavailable.
      Specified by:
      getMaxValue in class Result<T>