final case class CachingConfigs(indexedStrings: CacheConfig = CachingConfigs.defaultStaticStringCache, contractStore: CacheConfig = CachingConfigs.defaultContractStoreCache, topologySnapshot: CacheConfig = CachingConfigs.defaultTopologySnapshotCache, synchronizerClientMaxTimestamp: CacheConfig = CachingConfigs.defaultSynchronizerClientMaxTimestampCache, partyCache: CacheConfig = CachingConfigs.defaultPartyCache, participantCache: CacheConfig = CachingConfigs.defaultParticipantCache, keyCache: CacheConfig = CachingConfigs.defaultKeyCache, sessionEncryptionKeyCache: SessionEncryptionKeyCacheConfig = CachingConfigs.defaultSessionEncryptionKeyCacheConfig, packageVettingCache: CacheConfig = CachingConfigs.defaultPackageVettingCache, memberCache: CacheConfig = CachingConfigs.defaultMemberCache, kmsMetadataCache: CacheConfig = CachingConfigs.kmsMetadataCache, finalizedMediatorConfirmationRequests: CacheConfig = CachingConfigs.defaultFinalizedMediatorConfirmationRequestsCache, sequencerPayloadCache: CacheConfigWithMemoryBounds = CachingConfigs.defaultSequencerPayloadCache) extends UniformCantonConfigValidation with Product with Serializable
Configuration settings for various internal caches
- indexedStrings
cache size configuration for the static string index cache
- contractStore
cache size configuration for the contract store
- topologySnapshot
cache size configuration for topology snapshots
- keyCache
cache configuration for keys in the topology snapshots to avoid loading redundant keys from the database.
- finalizedMediatorConfirmationRequests
cache size for the finalized mediator confirmation requests such the mediator does not have to perform a db round-trip if we have slow responders.
- Alphabetic
- By Inheritance
- CachingConfigs
- Serializable
- Product
- Equals
- UniformCantonConfigValidation
- CustomCantonConfigValidation
- CantonConfigValidation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CachingConfigs(indexedStrings: CacheConfig = CachingConfigs.defaultStaticStringCache, contractStore: CacheConfig = CachingConfigs.defaultContractStoreCache, topologySnapshot: CacheConfig = CachingConfigs.defaultTopologySnapshotCache, synchronizerClientMaxTimestamp: CacheConfig = CachingConfigs.defaultSynchronizerClientMaxTimestampCache, partyCache: CacheConfig = CachingConfigs.defaultPartyCache, participantCache: CacheConfig = CachingConfigs.defaultParticipantCache, keyCache: CacheConfig = CachingConfigs.defaultKeyCache, sessionEncryptionKeyCache: SessionEncryptionKeyCacheConfig = CachingConfigs.defaultSessionEncryptionKeyCacheConfig, packageVettingCache: CacheConfig = CachingConfigs.defaultPackageVettingCache, memberCache: CacheConfig = CachingConfigs.defaultMemberCache, kmsMetadataCache: CacheConfig = CachingConfigs.kmsMetadataCache, finalizedMediatorConfirmationRequests: CacheConfig = CachingConfigs.defaultFinalizedMediatorConfirmationRequestsCache, sequencerPayloadCache: CacheConfigWithMemoryBounds = CachingConfigs.defaultSequencerPayloadCache)
- indexedStrings
cache size configuration for the static string index cache
- contractStore
cache size configuration for the contract store
- topologySnapshot
cache size configuration for topology snapshots
- keyCache
cache configuration for keys in the topology snapshots to avoid loading redundant keys from the database.
- finalizedMediatorConfirmationRequests
cache size for the finalized mediator confirmation requests such the mediator does not have to perform a db round-trip if we have slow responders.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val contractStore: CacheConfig
- final def doValidate(edition: CantonEdition): Seq[CantonConfigValidationError]
Returns all validation errors that are specific to this Canton configuration class.
Returns all validation errors that are specific to this Canton configuration class. Successful validation should return an empty sequence.
Validation errors of subconfigurations should not be reported by this method, but via the type class derivation.
- Attributes
- protected
- Definition Classes
- UniformCantonConfigValidation → CustomCantonConfigValidation
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val finalizedMediatorConfirmationRequests: CacheConfig
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val indexedStrings: CacheConfig
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyCache: CacheConfig
- val kmsMetadataCache: CacheConfig
- val memberCache: CacheConfig
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val packageVettingCache: CacheConfig
- val participantCache: CacheConfig
- val partyCache: CacheConfig
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sequencerPayloadCache: CacheConfigWithMemoryBounds
- val sessionEncryptionKeyCache: SessionEncryptionKeyCacheConfig
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val synchronizerClientMaxTimestamp: CacheConfig
- val topologySnapshot: CacheConfig
- final def validate[T >: CachingConfigs.this.type](edition: CantonEdition)(implicit validator: CantonConfigValidator[T]): Either[NonEmpty[Seq[CantonConfigValidationError]], Unit]
- Definition Classes
- CantonConfigValidation
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])