@ConfigurationProperties(value="axon.eventhandling.tokenstore") public class TokenStoreProperties extends Object
Token Store.| Constructor and Description |
|---|
TokenStoreProperties() |
| Modifier and Type | Method and Description |
|---|---|
Duration |
getClaimTimeout()
Gets the claim timeout as
Duration. |
void |
setClaimTimeout(Duration claimTimeout)
Sets the claim timeout as
Duration. |
public Duration getClaimTimeout()
Duration.
The claim timeout is the amount of time a
StreamingEventProcessor's process will wait
before it forces a claim of a TrackingToken. Thus, if a claim has not
been updated for the given claimTimeout, this process will 'steal' the claim. Defaults to a
Duration of 10 seconds.
Durationpublic void setClaimTimeout(Duration claimTimeout)
Duration.
The claim timeout is the amount of time a
StreamingEventProcessor's) process will wait
before it forces a claim of a TrackingToken. Thus, if a claim has not
been updated for the given claimTimeout, this process will 'steal' the claim.
claimTimeout - the Duration of the default claim timeoutCopyright © 2010–2025. All rights reserved.