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 aDiagnosticsData
record class. -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the value of thebufferCount
record component.long
Returns the value of thebufferMax
record component.final boolean
Indicates whether some other object is "equal to" this one.long
Returns the value of thefilterInCount
record component.long
Returns the value of thefilterOutCount
record component.long
Returns the value of thehandlerProcessedCount
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of themostRecentErrors
record component.long
Returns the value of thesourceCount
record component.Returns the value of thesourceEncoderRate
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thetransformEncoderRate
record 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 aDiagnosticsData
record class.- Parameters:
sourceCount
- the value for thesourceCount
record componentfilterInCount
- the value for thefilterInCount
record componentfilterOutCount
- the value for thefilterOutCount
record componentsourceEncoderRate
- the value for thesourceEncoderRate
record componenttransformEncoderRate
- the value for thetransformEncoderRate
record componenthandlerProcessedCount
- the value for thehandlerProcessedCount
record componentbufferCount
- the value for thebufferCount
record componentbufferMax
- the value for thebufferMax
record componentmostRecentErrors
- the value for themostRecentErrors
record 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 thesourceCount
record component.- Returns:
- the value of the
sourceCount
record component
-
filterInCount
public long filterInCount()Returns the value of thefilterInCount
record component.- Returns:
- the value of the
filterInCount
record component
-
filterOutCount
public long filterOutCount()Returns the value of thefilterOutCount
record component.- Returns:
- the value of the
filterOutCount
record component
-
sourceEncoderRate
Returns the value of thesourceEncoderRate
record component.- Returns:
- the value of the
sourceEncoderRate
record component
-
transformEncoderRate
Returns the value of thetransformEncoderRate
record component.- Returns:
- the value of the
transformEncoderRate
record component
-
handlerProcessedCount
public long handlerProcessedCount()Returns the value of thehandlerProcessedCount
record component.- Returns:
- the value of the
handlerProcessedCount
record component
-
bufferCount
public long bufferCount()Returns the value of thebufferCount
record component.- Returns:
- the value of the
bufferCount
record component
-
bufferMax
public long bufferMax()Returns the value of thebufferMax
record component.- Returns:
- the value of the
bufferMax
record component
-
mostRecentErrors
Returns the value of themostRecentErrors
record component.- Returns:
- the value of the
mostRecentErrors
record component
-