Record Class VERIFY_SUSPECT.Entry
java.lang.Object
java.lang.Record
org.jgroups.protocols.VERIFY_SUSPECT.Entry
- All Implemented Interfaces:
Comparable<Delayed>, Delayed
- Enclosing class:
VERIFY_SUSPECT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfinal booleanIndicates whether some other object is "equal to" this one.longfinal inthashCode()Returns a hash code value for this object.suspect()Returns the value of thesuspectrecord component.longReturns the value of thetarget_timerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
Entry
Creates an instance of aEntryrecord class.- Parameters:
suspect- the value for thesuspectrecord componenttarget_time- the value for thetarget_timerecord component
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<Delayed>
-
getDelay
-
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. -
suspect
Returns the value of thesuspectrecord component.- Returns:
- the value of the
suspectrecord component
-
target_time
public long target_time()Returns the value of thetarget_timerecord component.- Returns:
- the value of the
target_timerecord component
-