Interface FailoverManager.Action
- All Known Implementing Classes:
FailoverManager.Action.Fail, FailoverManager.Action.RetryOn, FailoverManager.Action.RetrySame
- Enclosing class:
FailoverManager
public static sealed interface FailoverManager.Action
permits FailoverManager.Action.Fail, FailoverManager.Action.RetrySame, FailoverManager.Action.RetryOn
What the caller should do about a failed operation.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordGive up and let the exception propagate.static final recordTry again on a different cluster - the newly promoted active one.static final recordTry the same cluster again after waiting.