Record Class CheckpointSavedEvent
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.core.events.CheckpointSavedEvent
-
Constructor Summary
ConstructorsConstructorDescriptionCheckpointSavedEvent(String runId, Instant timestamp, int iteration, String checkpointPath) Creates an instance of aCheckpointSavedEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecheckpointPathrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of theiterationrecord component.runId()Returns the value of therunIdrecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.type()Event type for structured logging.
-
Constructor Details
-
CheckpointSavedEvent
Creates an instance of aCheckpointSavedEventrecord class.- Parameters:
runId- the value for therunIdrecord componenttimestamp- the value for thetimestamprecord componentiteration- the value for theiterationrecord componentcheckpointPath- the value for thecheckpointPathrecord component
-
-
Method Details
-
type
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
runId
-
timestamp
-
iteration
public int iteration()Returns the value of theiterationrecord component.- Returns:
- the value of the
iterationrecord component
-
checkpointPath
Returns the value of thecheckpointPathrecord component.- Returns:
- the value of the
checkpointPathrecord component
-