Record Class FailoverManager.Action.RetryOn
java.lang.Object
java.lang.Record
org.openspaces.core.multicluster.internal.health.FailoverManager.Action.RetryOn
- All Implemented Interfaces:
FailoverManager.Action
- Enclosing interface:
FailoverManager.Action
public static record FailoverManager.Action.RetryOn(ClusterRegistry.Cluster cluster)
extends Record
implements FailoverManager.Action
Try again on a different cluster - the newly promoted active one.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FailoverManager.Action
FailoverManager.Action.Fail, FailoverManager.Action.RetryOn, FailoverManager.Action.RetrySame -
Constructor Summary
ConstructorsConstructorDescriptionRetryOn(ClusterRegistry.Cluster cluster) Creates an instance of aRetryOnrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncluster()Returns the value of theclusterrecord 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
-
RetryOn
Creates an instance of aRetryOnrecord class.- Parameters:
cluster- the value for theclusterrecord 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). -
cluster
Returns the value of theclusterrecord component.- Returns:
- the value of the
clusterrecord component
-