| Package | Description |
|---|---|
| org.axonframework.axonserver.connector.heartbeat | |
| org.axonframework.axonserver.connector.heartbeat.connection.checker |
| Constructor and Description |
|---|
HeartbeatMonitor(Runnable onInvalidConnection,
ConnectionSanityChecker connectionSanityCheck,
Scheduler scheduler,
long initialDelay,
long delay)
Primary constructor of
HeartbeatMonitor. |
| Modifier and Type | Class and Description |
|---|---|
class |
ActiveGrpcChannelChecker
ConnectionSanityChecker implementation that verifies if
the gRPC channel between client and Axon Server is connected. |
class |
HeartbeatConnectionChecker
Implementation of
ConnectionSanityChecker which verifies that heartbeats are properly received. |
| Constructor and Description |
|---|
HeartbeatConnectionChecker(Consumer<Runnable> registration,
ConnectionSanityChecker delegate)
Constructs an instance of
HeartbeatConnectionChecker using a default timeout of 5 seconds and the system clock. |
HeartbeatConnectionChecker(long heartbeatTimeout,
Consumer<Runnable> registerOnHeartbeat,
ConnectionSanityChecker delegate,
Clock clock)
Primary constructor of
HeartbeatConnectionChecker. |
Copyright © 2010–2020. All rights reserved.