com.digitalasset.canton.participant.store
ParticipantSettingsStore
Companion object ParticipantSettingsStore
trait ParticipantSettingsStore extends ParticipantSettingsLookup with AutoCloseable
Stores misc settings for a participant.
Allows clients to read settings without accessing the database.
In turn, a client needs to call refreshCache
before reading settings.
- Alphabetic
- By Inheritance
- ParticipantSettingsStore
- AutoCloseable
- ParticipantSettingsLookup
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def close(): Unit
- Definition Classes
- AutoCloseable
- Annotations
- @throws(classOf[java.lang.Exception])
- abstract def insertMaxDeduplicationDuration(maxDeduplicationDuration: NonNegativeFiniteDuration)(implicit traceContext: TraceContext): Future[Unit]
Insert the given max deduplication duration provided unless a max deduplication duration has been set previously.
- abstract def insertUniqueContractKeysMode(uniqueContractKeys: Boolean)(implicit traceContext: TraceContext): Future[Unit]
Insert the setting for whether the participant provides unique-contract-key semantics.
- abstract def refreshCache()(implicit traceContext: TraceContext): Future[Unit]
- abstract def writeResourceLimits(resourceLimits: ResourceLimits)(implicit traceContext: TraceContext): Future[Unit]
Concrete 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
- val cache: AtomicReference[Option[Settings]]
A cache for the max number of dirty requests.
A cache for the max number of dirty requests. It is updated in the following situations: - Before and after a write (successful or not). - Through refreshCache. (Clients are requested to call refreshCache before reading any value.)
- Attributes
- protected
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def settings: Settings
- returns
the current settings
- Definition Classes
- ParticipantSettingsStore → ParticipantSettingsLookup
- Exceptions thrown
java.lang.IllegalStateException
if ParticipantSettingsStore.refreshCache has not previously been run successfully
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])