Package com.twicedb.shared
Record Class Lsqt
java.lang.Object
java.lang.Record
com.twicedb.shared.Lsqt
A representation of the last safe query time ("Lsqt"), the largest Tt at which the client knows
that is safe to read.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
boolean
long
lsqt()
Returns the value of thelsqt
record component.final String
toString()
Returns a string representation of this record class.toTt()
-
Constructor Details
-
Lsqt
public Lsqt(long lsqt) Creates an instance of aLsqt
record class.- Parameters:
lsqt
- the value for thelsqt
record component
-
-
Method Details
-
toTt
-
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 '=='. -
lsqt
public long lsqt()Returns the value of thelsqt
record component.- Returns:
- the value of the
lsqt
record component