Record Class FailoverManager.Action.RetrySame
java.lang.Object
java.lang.Record
org.openspaces.core.multicluster.internal.health.FailoverManager.Action.RetrySame
- All Implemented Interfaces:
FailoverManager.Action
- Enclosing interface:
FailoverManager.Action
public static record FailoverManager.Action.RetrySame(Duration backoff)
extends Record
implements FailoverManager.Action
Try the same cluster again after waiting.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FailoverManager.Action
FailoverManager.Action.Fail, FailoverManager.Action.RetryOn, FailoverManager.Action.RetrySame -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackoff()Returns the value of thebackoffrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RetrySame
Creates an instance of aRetrySamerecord class.- Parameters:
backoff- the value for thebackoffrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
backoff
Returns the value of thebackoffrecord component.- Returns:
- the value of the
backoffrecord component
-