Record Class TaskTrackerDto
java.lang.Object
java.lang.Record
io.datarouter.instrumentation.task.TaskTrackerDto
-
Constructor Summary
ConstructorsConstructorDescriptionTaskTrackerDto(TaskTrackerKeyDto key, String longRunningTaskType, Instant startTime, Instant finishTime, Instant heartbeatTime, String jobExecutionStatus, String triggeredBy, Long numItemsProcessed, String lastItemProcessed, String exceptionRecordId) Creates an instance of aTaskTrackerDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexceptionRecordIdrecord component.Returns the value of thefinishTimerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theheartbeatTimerecord component.Returns the value of thejobExecutionStatusrecord component.key()Returns the value of thekeyrecord component.Returns the value of thelastItemProcessedrecord component.Returns the value of thelongRunningTaskTyperecord component.Returns the value of thenumItemsProcessedrecord component.Returns the value of thestartTimerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetriggeredByrecord component.
-
Constructor Details
-
TaskTrackerDto
public TaskTrackerDto(TaskTrackerKeyDto key, String longRunningTaskType, Instant startTime, Instant finishTime, Instant heartbeatTime, String jobExecutionStatus, String triggeredBy, Long numItemsProcessed, String lastItemProcessed, String exceptionRecordId) Creates an instance of aTaskTrackerDtorecord class.- Parameters:
key- the value for thekeyrecord componentlongRunningTaskType- the value for thelongRunningTaskTyperecord componentstartTime- the value for thestartTimerecord componentfinishTime- the value for thefinishTimerecord componentheartbeatTime- the value for theheartbeatTimerecord componentjobExecutionStatus- the value for thejobExecutionStatusrecord componenttriggeredBy- the value for thetriggeredByrecord componentnumItemsProcessed- the value for thenumItemsProcessedrecord componentlastItemProcessed- the value for thelastItemProcessedrecord componentexceptionRecordId- the value for theexceptionRecordIdrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
longRunningTaskType
Returns the value of thelongRunningTaskTyperecord component.- Returns:
- the value of the
longRunningTaskTyperecord component
-
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
finishTime
Returns the value of thefinishTimerecord component.- Returns:
- the value of the
finishTimerecord component
-
heartbeatTime
Returns the value of theheartbeatTimerecord component.- Returns:
- the value of the
heartbeatTimerecord component
-
jobExecutionStatus
Returns the value of thejobExecutionStatusrecord component.- Returns:
- the value of the
jobExecutionStatusrecord component
-
triggeredBy
Returns the value of thetriggeredByrecord component.- Returns:
- the value of the
triggeredByrecord component
-
numItemsProcessed
Returns the value of thenumItemsProcessedrecord component.- Returns:
- the value of the
numItemsProcessedrecord component
-
lastItemProcessed
Returns the value of thelastItemProcessedrecord component.- Returns:
- the value of the
lastItemProcessedrecord component
-
exceptionRecordId
Returns the value of theexceptionRecordIdrecord component.- Returns:
- the value of the
exceptionRecordIdrecord component
-