Package smartrics.iotics.space.twins
Record Class Follower.RetryConf
java.lang.Object
java.lang.Record
smartrics.iotics.space.twins.Follower.RetryConf
- Enclosing interface:
- Follower
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebackoffDelayrecord component.Returns the value of thebackoffMaxDelayrecord component.delay()Returns the value of thedelayrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.jitter()Returns the value of thejitterrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RetryConf
Creates an instance of aRetryConfrecord class.- Parameters:
delay- the value for thedelayrecord componentjitter- the value for thejitterrecord componentbackoffDelay- the value for thebackoffDelayrecord componentbackoffMaxDelay- the value for thebackoffMaxDelayrecord component
-
-
Method Details
-
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 withObjects::equals(Object,Object). -
delay
Returns the value of thedelayrecord component.- Returns:
- the value of the
delayrecord component
-
jitter
Returns the value of thejitterrecord component.- Returns:
- the value of the
jitterrecord component
-
backoffDelay
Returns the value of thebackoffDelayrecord component.- Returns:
- the value of the
backoffDelayrecord component
-
backoffMaxDelay
Returns the value of thebackoffMaxDelayrecord component.- Returns:
- the value of the
backoffMaxDelayrecord component
-