sealed trait DomainParametersLookup[+P] extends AnyRef
This class allows to query domain parameters, regardless of whether they are static or dynamic. The returned value can be a single parameter (see reconciliation interval example below) or a set of values.
Type parameter P
is the type of the returned value.
- Alphabetic
- By Inheritance
- DomainParametersLookup
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def approximateTimestamp: CantonTimestamp
Return the approximate latest validity/freshness.
Return the approximate latest validity/freshness. For parameters that are static, the returned value is
Canton.MaxTimestamp
. For parameters that are dynamic, the returned value is the approximate timestamp of theTopologyClient
. - abstract def get(validAt: CantonTimestamp, warnOnUsingDefaults: Boolean = true)(implicit traceContext: TraceContext): Future[P]
Return one value, valid at the specified timestamp
Return one value, valid at the specified timestamp
- warnOnUsingDefaults
Log a warning if dynamic domain parameters are not set and default value is used.
- abstract def getAll(validAt: CantonTimestamp)(implicit traceContext: TraceContext): Future[Seq[WithValidity[P]]]
Return a list of parameters, together with their validity interval,
- abstract def getApproximate()(implicit traceContext: TraceContext): Future[Option[P]]
If the parameter is static, return its value.
If the parameter is static, return its value. If the parameter is dynamic, return the value of the topology snapshot approximation.
- abstract def getApproximateOrDefaultValue(warnOnUsingDefaults: Boolean = true)(implicit traceContext: TraceContext): Future[P]
If the parameter is static, return its value.
If the parameter is static, return its value. If the parameter is dynamic, return the value of the topology snapshot approximation or the default value.
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
- 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 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])