Record Class H2LogStore.LogTask.UpdateNodeResult
java.lang.Object
java.lang.Record
com.scivicslab.actoriac.log.H2LogStore.LogTask.UpdateNodeResult
- All Implemented Interfaces:
H2LogStore.LogTask
- Enclosing interface:
H2LogStore.LogTask
public static record H2LogStore.LogTask.UpdateNodeResult(long sessionId, String nodeId, String status, String reason)
extends Record
implements H2LogStore.LogTask
- Author:
- devteam@scivics-lab.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface H2LogStore.LogTask
H2LogStore.LogTask.InsertLog, H2LogStore.LogTask.UpdateNodeResult -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUpdateNodeResult(long sessionId, String nodeId, String status, String reason) Creates an instance of aUpdateNodeResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.voidexecute(Connection conn) final inthashCode()Returns a hash code value for this object.nodeId()Returns the value of thenodeIdrecord component.reason()Returns the value of thereasonrecord component.longReturns the value of thesessionIdrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
sessionId
The field for thesessionIdrecord component. -
nodeId
-
status
-
reason
-
-
Constructor Details
-
UpdateNodeResult
Creates an instance of aUpdateNodeResultrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentnodeId- the value for thenodeIdrecord componentstatus- the value for thestatusrecord componentreason- the value for thereasonrecord component
-
-
Method Details
-
execute
- Specified by:
executein interfaceH2LogStore.LogTask- Throws:
SQLException
-
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. -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
nodeId
-
status
-
reason
-