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
ConstructorsConstructorDescriptionDiagnosticsData(long sourceCount, long filterInCount, long filterOutCount, Rate sourceEncoderRate, Rate transformEncoderRate, long handlerProcessedCount, long bufferCount, long bufferMax, List<StageError> mostRecentErrors) Creates an instance of aDiagnosticsDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thebufferCountrecord component.longReturns the value of thebufferMaxrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of thefilterInCountrecord component.longReturns the value of thefilterOutCountrecord component.longReturns the value of thehandlerProcessedCountrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themostRecentErrorsrecord component.longReturns the value of thesourceCountrecord component.Returns the value of thesourceEncoderRaterecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransformEncoderRaterecord component.
-
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 aDiagnosticsDatarecord class.- Parameters:
sourceCount- the value for thesourceCountrecord componentfilterInCount- the value for thefilterInCountrecord componentfilterOutCount- the value for thefilterOutCountrecord componentsourceEncoderRate- the value for thesourceEncoderRaterecord componenttransformEncoderRate- the value for thetransformEncoderRaterecord componenthandlerProcessedCount- the value for thehandlerProcessedCountrecord componentbufferCount- the value for thebufferCountrecord componentbufferMax- the value for thebufferMaxrecord componentmostRecentErrors- the value for themostRecentErrorsrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
sourceCount
public long sourceCount()Returns the value of thesourceCountrecord component.- Returns:
- the value of the
sourceCountrecord component
-
filterInCount
public long filterInCount()Returns the value of thefilterInCountrecord component.- Returns:
- the value of the
filterInCountrecord component
-
filterOutCount
public long filterOutCount()Returns the value of thefilterOutCountrecord component.- Returns:
- the value of the
filterOutCountrecord component
-
sourceEncoderRate
Returns the value of thesourceEncoderRaterecord component.- Returns:
- the value of the
sourceEncoderRaterecord component
-
transformEncoderRate
Returns the value of thetransformEncoderRaterecord component.- Returns:
- the value of the
transformEncoderRaterecord component
-
handlerProcessedCount
public long handlerProcessedCount()Returns the value of thehandlerProcessedCountrecord component.- Returns:
- the value of the
handlerProcessedCountrecord component
-
bufferCount
public long bufferCount()Returns the value of thebufferCountrecord component.- Returns:
- the value of the
bufferCountrecord component
-
bufferMax
public long bufferMax()Returns the value of thebufferMaxrecord component.- Returns:
- the value of the
bufferMaxrecord component
-
mostRecentErrors
Returns the value of themostRecentErrorsrecord component.- Returns:
- the value of the
mostRecentErrorsrecord component
-