package traffic
- Alphabetic
 
- Public
 - Protected
 
Type Members
-  sealed trait SequencerRateLimitError extends AnyRef
 -    trait SequencerRateLimitManager extends AutoCloseable
Holds the traffic control state and control rate limiting logic of members of a sequencer
 -   final  case class SequencerTrafficConfig(trafficPurchasedCacheSizePerMember: PositiveInt = PositiveInt.tryCreate(3), maximumTrafficPurchasedCacheSize: PositiveInt = PositiveInt.tryCreate(1000), batchAggregatorConfig: BatchAggregatorConfig = BatchAggregatorConfig.Batching(), pruningRetentionWindow: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofHours(2L), trafficConsumedCacheTTL: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofHours(2L), maximumTrafficConsumedCacheSize: PositiveInt = PositiveInt.tryCreate(1000), submissionTimestampInFutureTolerance: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofSeconds(5)) extends UniformCantonConfigValidation with Product with Serializable
Configuration for the traffic purchased entry manager.
Configuration for the traffic purchased entry manager.
- trafficPurchasedCacheSizePerMember
 How many traffic purchased entries to keep in memory for each member.
- maximumTrafficPurchasedCacheSize
 The maximum number of entries (= members) to keep in the cache.
- batchAggregatorConfig
 configures how balances are batched before being written to the store.
- pruningRetentionWindow
 the duration for which balances are kept in the cache and the store. Balances older than this duration will be pruned at regular intervals.
- trafficConsumedCacheTTL
 the duration for which consumed traffic entries are kept in the cache after the last time they've been accessed.
- maximumTrafficConsumedCacheSize
 Maximum number of entries (members) to keep in the traffic consumed cache.
- submissionTimestampInFutureTolerance
 the tolerance window that should be added to future dated submission timestamp that can still be accepted by this sequencer.
 -  final case class SequencerTrafficStatus(trafficStatesOrErrors: Map[Member, Either[String, TrafficState]]) extends Product with Serializable
 
Value Members
-  object SequencerRateLimitError extends SequencerErrorGroup
 -  object SequencerTrafficConfig extends Serializable
 -  object TimestampSelector