Packages

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DomainParametersLookup
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. 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 the TopologyClient.

  2. 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.

  3. abstract def getAll(validAt: CantonTimestamp)(implicit traceContext: TraceContext): Future[Seq[WithValidity[P]]]

    Return a list of parameters, together with their validity interval,

  4. 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.

  5. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped