Record Class H2LogReader.NodeInfo
java.lang.Object
java.lang.Record
com.scivicslab.actoriac.log.H2LogReader.NodeInfo
- Record Components:
nodeId- the node identifierstatus- the node status (SUCCESS, FAILED, or null if not yet recorded)logCount- the number of log entries for this node
- Enclosing class:
H2LogReader
public static record H2LogReader.NodeInfo(String nodeId, String status, int logCount)
extends Record
Information about a node in a session.
- Author:
- devteam@scivics-lab.com
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlogCount()Returns the value of thelogCountrecord component.nodeId()Returns the value of thenodeIdrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
nodeId
-
status
-
logCount
-
-
Constructor Details
-
NodeInfo
-
-
Method Details
-
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. -
nodeId
-
status
-
logCount
-