public class CircuitBreakerCommandExecutor extends CircuitBreakerFailoverBase implements CommandExecutor
CommandExecutor with built-in retry, circuit-breaker, and failover to another cluster/database endpoint. With this executor users can seamlessly failover to Disaster Recovery (DR), Backup, and Active-Active cluster(s) by using simple configuration which is passed through from Resilience4j - https://resilience4j.readme.io/docs
provider| Constructor and Description |
|---|
CircuitBreakerCommandExecutor(MultiClusterPooledConnectionProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
executeCommand(CommandObject<T> commandObject) |
close, clusterFailoverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbroadcastCommandpublic CircuitBreakerCommandExecutor(MultiClusterPooledConnectionProvider provider)
public <T> T executeCommand(CommandObject<T> commandObject)
executeCommand in interface CommandExecutorCopyright © 2024. All rights reserved.