public static class AxonServerConfiguration.HeartbeatConfiguration extends Object
| Constructor and Description |
|---|
HeartbeatConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
long |
getInterval()
The interval between consecutive heartbeat message sent in milliseconds.
|
long |
getTimeout()
The time window within which a response is expected in milliseconds.
|
boolean |
isEnabled()
Indication whether heartbeat messages between a client and Axon Server are enabled.
|
void |
setEnabled(boolean enabled)
Sets the indication whether heartbeat messages between a client and Axon Server are enabled.
|
void |
setInterval(long interval)
Sets the interval between consecutive heartbeat message sent in milliseconds.
|
void |
setTimeout(long timeout)
Sets the time window within which a response is expected in milliseconds.
|
public boolean isEnabled()
true.public void setEnabled(boolean enabled)
true.enabled - The Indication whether heartbeat messages between a client and Axon Server are enabled.public long getInterval()
10_000
milliseconds.public void setInterval(long interval)
10_000
milliseconds.interval - The interval between consecutive heartbeat message sent in milliseconds.public long getTimeout()
7_500 milliseconds.public void setTimeout(long timeout)
7_500 milliseconds.timeout - The time window within which a response is expected in milliseconds.Copyright © 2010–2025. All rights reserved.