c

com.digitalasset.canton.console.commands

ParticipantTestingGroup

class ParticipantTestingGroup extends FeatureFlagFilter with Helpful

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParticipantTestingGroup
  2. Helpful
  3. FeatureFlagFilter
  4. NoTracing
  5. NamedLogging
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ParticipantTestingGroup(participantRef: ParticipantReference, consoleEnvironment: ConsoleEnvironment, loggerFactory: NamedLoggerFactory)

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 await_domain_time(domainId: DomainId, time: CantonTimestamp, timeout: TimeoutDuration = consoleEnvironment.commandTimeouts.ledgerCommand): Unit
    Annotations
    @Summary(s = "Await for the given time to be reached on the given domain", flag = FeatureFlag.Testing)
  6. def await_domain_time(domainAlias: DomainAlias, time: CantonTimestamp, timeout: TimeoutDuration): Unit
    Annotations
    @Summary(s = "Await for the given time to be reached on the given domain", flag = FeatureFlag.Testing)
  7. def bong(targets: Set[ParticipantId], validators: Set[ParticipantId] = Set(), timeout: TimeoutDuration = consoleEnvironment.commandTimeouts.testingBong, levels: Long = 0, gracePeriodMillis: Long = 1000, workflowId: String = "", id: String = ""): Duration
    Annotations
    @Summary(s = "Send a bong to a set of target parties over the ledger. Levels > 0 leads to an exploding ping with exponential number of contracts. " +
    "Throw a RuntimeException in case of failure."
    , flag = FeatureFlag.Testing)
    @Description(s = """Initiates a racy ping to multiple participants,
    measuring the roundtrip time of the fastest responder, with an optional timeout.
    Grace-period is the time the bong will wait for a duplicate spent (which would indicate an error in the system) before exiting.
    If levels > 0, the ping command will lead to a binary explosion and subsequent dilation of
    contracts, where ``level`` determines the number of levels we will explode. As a result, the system will create
    (2^(L+2) - 3) contracts (where L stands for ``level``).
    Normally, only the initiator is a validator. Additional validators can be added using the validators argument.
    The bong command comes handy to run a burst test against the system and quickly leads to an overloading state."""
    )
  8. def cantonConfig: CantonConfig
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  9. def check[T](flag: FeatureFlag)(command: => T): T
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. val consoleEnvironment: ConsoleEnvironment
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def fetch_domain_time(domainId: DomainId, timeout: TimeoutDuration = consoleEnvironment.commandTimeouts.ledgerCommand): CantonTimestamp
    Annotations
    @Summary(s = "Fetch the current time from the given domain", flag = FeatureFlag.Testing)
  15. def fetch_domain_time(domainAlias: DomainAlias, timeout: TimeoutDuration): CantonTimestamp
    Annotations
    @Summary(s = "Fetch the current time from the given domain", flag = FeatureFlag.Testing)
  16. def fetch_domain_times(timeout: TimeoutDuration = consoleEnvironment.commandTimeouts.ledgerCommand): Unit
    Annotations
    @Summary(s = "Fetch the current time from all connected domains", flag = FeatureFlag.Testing)
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def help(methodName: String)(implicit consoleEnvironment: ConsoleEnvironment): Unit
    Definition Classes
    Helpful
    Annotations
    @Summary(s = "Help for specific commands (use help() or help(\"method\") for more information)", flag = console.this.Help.Summary.<init>$default$2) @Topic(t = Seq("Top-level Commands"))
  20. def help()(implicit consoleEnvironment: ConsoleEnvironment): Unit
    Definition Classes
    Helpful
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  23. val loggerFactory: NamedLoggerFactory
  24. implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  25. def maybe_bong(targets: Set[ParticipantId], validators: Set[ParticipantId] = Set(), timeout: TimeoutDuration = consoleEnvironment.commandTimeouts.testingBong, levels: Long = 0, gracePeriodMillis: Long = 1000, workflowId: String = "", id: String = ""): Option[Duration]
    Annotations
    @Summary(s = "Like bong, but returns None in case of failure.", flag = FeatureFlag.Testing)
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. implicit def traceContext: TraceContext
    Attributes
    protected
    Definition Classes
    NoTracing
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. 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

Inherited from Helpful

Inherited from FeatureFlagFilter

Inherited from NoTracing

Inherited from NamedLogging

Inherited from AnyRef

Inherited from Any

Ungrouped