Record Class ExecTracker.StartRecord
java.lang.Object
java.lang.Record
org.aksw.jenax.dataaccess.sparql.linksource.track.ExecTracker.StartRecord
- Enclosing class:
- ExecTracker
-
Constructor Summary
ConstructorsConstructorDescriptionStartRecord(long requestId, Instant timestamp, Object requestObject, Runnable abortAction) Creates an instance of aStartRecordrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theabortActionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of therequestIdrecord component.Returns the value of therequestObjectrecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StartRecord
Creates an instance of aStartRecordrecord class.- Parameters:
requestId- the value for therequestIdrecord componenttimestamp- the value for thetimestamprecord componentrequestObject- the value for therequestObjectrecord componentabortAction- the value for theabortActionrecord 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 '=='. -
requestId
public long requestId()Returns the value of therequestIdrecord component.- Returns:
- the value of the
requestIdrecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
requestObject
Returns the value of therequestObjectrecord component.- Returns:
- the value of the
requestObjectrecord component
-
abortAction
Returns the value of theabortActionrecord component.- Returns:
- the value of the
abortActionrecord component
-