Module software.sava.rpc
Record Class HighestSnapshotSlot
java.lang.Object
java.lang.Record
software.sava.rpc.json.http.response.HighestSnapshotSlot
-
Constructor Summary
ConstructorsConstructorDescriptionHighestSnapshotSlot(long full, long incremental) Creates an instance of aHighestSnapshotSlotrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longfull()Returns the value of thefullrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theincrementalrecord component.static HighestSnapshotSlotparse(systems.comodal.jsoniter.JsonIterator ji) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HighestSnapshotSlot
public HighestSnapshotSlot(long full, long incremental) Creates an instance of aHighestSnapshotSlotrecord class.- Parameters:
full- the value for thefullrecord componentincremental- the value for theincrementalrecord component
-
-
Method Details
-
parse
-
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. All components in this record class are compared with '=='. -
full
public long full()Returns the value of thefullrecord component.- Returns:
- the value of the
fullrecord component
-
incremental
public long incremental()Returns the value of theincrementalrecord component.- Returns:
- the value of the
incrementalrecord component
-