Class TokenStoreProperties
java.lang.Object
org.axonframework.extension.springboot.TokenStoreProperties
@ConfigurationProperties("axon.eventhandling.tokenstore")
public class TokenStoreProperties
extends Object
Properties describing the settings for the default
Token Store.- Since:
- 4.8.0
- Author:
- Gerard Klijs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the claim timeout asDuration.voidsetClaimTimeout(Duration claimTimeout) Sets the claim timeout asDuration.
-
Constructor Details
-
TokenStoreProperties
public TokenStoreProperties()
-
-
Method Details
-
getClaimTimeout
Gets the claim timeout asDuration.The claim timeout is the amount of time a
StreamingEventProcessor'sprocess will wait before it forces a claim of aTrackingToken. Thus, if a claim has not been updated for the givenclaimTimeout, this process will 'steal' the claim. Defaults to aDurationof 10 seconds.- Returns:
- the claim timeout as
Duration
-
setClaimTimeout
Sets the claim timeout asDuration.The claim timeout is the amount of time a
StreamingEventProcessor's)process will wait before it forces a claim of aTrackingToken. Thus, if a claim has not been updated for the givenclaimTimeout, this process will 'steal' the claim.- Parameters:
claimTimeout- theDurationof the default claim timeout
-