Record Class EventStreamDiagnosticsProvider.DiagnosticsData

java.lang.Object
java.lang.Record
com.inductiveautomation.eventstream.designer.ui.viewmodel.diagnostics.EventStreamDiagnosticsProvider.DiagnosticsData
Enclosing class:
EventStreamDiagnosticsProvider

public static record EventStreamDiagnosticsProvider.DiagnosticsData(long sourceCount, long filterInCount, long filterOutCount, Rate sourceEncoderRate, Rate transformEncoderRate, long handlerProcessedCount, long bufferCount, long bufferMax, List<StageError> mostRecentErrors) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    DiagnosticsData(long sourceCount, long filterInCount, long filterOutCount, Rate sourceEncoderRate, Rate transformEncoderRate, long handlerProcessedCount, long bufferCount, long bufferMax, List<StageError> mostRecentErrors)
    Creates an instance of a DiagnosticsData record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of the bufferCount record component.
    long
    Returns the value of the bufferMax record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    long
    Returns the value of the filterInCount record component.
    long
    Returns the value of the filterOutCount record component.
    long
    Returns the value of the handlerProcessedCount record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the mostRecentErrors record component.
    long
    Returns the value of the sourceCount record component.
    Returns the value of the sourceEncoderRate record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the transformEncoderRate record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DiagnosticsData

      public DiagnosticsData(long sourceCount, long filterInCount, long filterOutCount, Rate sourceEncoderRate, Rate transformEncoderRate, long handlerProcessedCount, long bufferCount, long bufferMax, List<StageError> mostRecentErrors)
      Creates an instance of a DiagnosticsData record class.
      Parameters:
      sourceCount - the value for the sourceCount record component
      filterInCount - the value for the filterInCount record component
      filterOutCount - the value for the filterOutCount record component
      sourceEncoderRate - the value for the sourceEncoderRate record component
      transformEncoderRate - the value for the transformEncoderRate record component
      handlerProcessedCount - the value for the handlerProcessedCount record component
      bufferCount - the value for the bufferCount record component
      bufferMax - the value for the bufferMax record component
      mostRecentErrors - the value for the mostRecentErrors record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • sourceCount

      public long sourceCount()
      Returns the value of the sourceCount record component.
      Returns:
      the value of the sourceCount record component
    • filterInCount

      public long filterInCount()
      Returns the value of the filterInCount record component.
      Returns:
      the value of the filterInCount record component
    • filterOutCount

      public long filterOutCount()
      Returns the value of the filterOutCount record component.
      Returns:
      the value of the filterOutCount record component
    • sourceEncoderRate

      public Rate sourceEncoderRate()
      Returns the value of the sourceEncoderRate record component.
      Returns:
      the value of the sourceEncoderRate record component
    • transformEncoderRate

      public Rate transformEncoderRate()
      Returns the value of the transformEncoderRate record component.
      Returns:
      the value of the transformEncoderRate record component
    • handlerProcessedCount

      public long handlerProcessedCount()
      Returns the value of the handlerProcessedCount record component.
      Returns:
      the value of the handlerProcessedCount record component
    • bufferCount

      public long bufferCount()
      Returns the value of the bufferCount record component.
      Returns:
      the value of the bufferCount record component
    • bufferMax

      public long bufferMax()
      Returns the value of the bufferMax record component.
      Returns:
      the value of the bufferMax record component
    • mostRecentErrors

      public List<StageError> mostRecentErrors()
      Returns the value of the mostRecentErrors record component.
      Returns:
      the value of the mostRecentErrors record component