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 Details

    • TokenStoreProperties

      public TokenStoreProperties()
  • Method Details

    • getClaimTimeout

      public Duration getClaimTimeout()
      Gets the claim timeout as 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.

      Returns:
      the claim timeout as Duration
    • setClaimTimeout

      public void setClaimTimeout(Duration claimTimeout)
      Sets the claim timeout as 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.

      Parameters:
      claimTimeout - the Duration of the default claim timeout