Package org.bsc.langgraph4j.checkpoint
Record Class OracleSaverV2Dashboard.ThreadRecord
java.lang.Object
java.lang.Record
org.bsc.langgraph4j.checkpoint.OracleSaverV2Dashboard.ThreadRecord
- Enclosing class:
OracleSaverV2Dashboard
-
Constructor Summary
ConstructorsConstructorDescriptionThreadRecord(int id, String name, boolean isInterrupted, String message, String createdAt) Creates an instance of aThreadRecordrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.booleanReturns the value of theisInterruptedrecord component.message()Returns the value of themessagerecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ThreadRecord
Creates an instance of aThreadRecordrecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componentisInterrupted- the value for theisInterruptedrecord componentmessage- the value for themessagerecord componentcreatedAt- the value for thecreatedAtrecord component
-
-
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 '=='. -
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
isInterrupted
public boolean isInterrupted()Returns the value of theisInterruptedrecord component.- Returns:
- the value of the
isInterruptedrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-