Class MaxTraceFunction.Long

All Implemented Interfaces:
EventListener, DoubleSource, LongSource, UpdatableSource
Enclosing class:
MaxTraceFunction

public static class MaxTraceFunction.Long extends MaxTraceFunction implements LongSource
An implementation of the Memoryless Series class, which manages long type data sources.
  • Field Details

    • max

      protected long max
    • target

      protected LongSource target
  • Constructor Details

    • Long

      public Long(@NonNull @NonNull LongSource source, @NonNull @NonNull Enum<?> valueID)
      Creates a basic statistic probe on a LongSource object.
      Parameters:
      source - The LongSource object.
      valueID - The value identifier defined by source object.
      Throws:
      NullPointerException - when any of the input parameters is null.
    • Long

      public Long(@NonNull @NonNull Object source, @NonNull @NonNull String valueName, boolean getFromMethod)
      Creates a basic statistic probe on a generic object.
      Parameters:
      source - A generic source object.
      valueName - The name of the field or the method returning the variable to be probed.
      getFromMethod - Specifies if valueName is a method or a property value.
      Throws:
      NullPointerException - when any of the input parameters is null.
  • Method Details