class ParticipantTestingGroup extends FeatureFlagFilter with Helpful
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ParticipantTestingGroup
- Helpful
- FeatureFlagFilter
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ParticipantTestingGroup(participantRef: ParticipantReference, consoleEnvironment: ConsoleEnvironment, loggerFactory: NamedLoggerFactory)
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 await_domain_time(domainId: DomainId, time: CantonTimestamp, timeout: NonNegativeDuration = consoleEnvironment.commandTimeouts.ledgerCommand): Unit
- Annotations
- @Summary(s = "Await for the given time to be reached on the given domain", flag = FeatureFlag.Testing)
- def await_domain_time(domainAlias: DomainAlias, time: CantonTimestamp, timeout: NonNegativeDuration): Unit
- Annotations
- @Summary(s = "Await for the given time to be reached on the given domain", flag = FeatureFlag.Testing)
- def bong(targets: Set[ParticipantId], validators: Set[ParticipantId] = Set(), timeout: NonNegativeDuration = 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.""")
- def cantonConfig: CantonConfig
- Attributes
- protected
- Definition Classes
- FeatureFlagFilter
- def check[T](flag: FeatureFlag)(command: => T): T
- Attributes
- protected
- Definition Classes
- FeatureFlagFilter
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val consoleEnvironment: ConsoleEnvironment
- Definition Classes
- ParticipantTestingGroup → FeatureFlagFilter
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- def fetch_domain_time(domainId: DomainId, timeout: NonNegativeDuration = consoleEnvironment.commandTimeouts.ledgerCommand): CantonTimestamp
- Annotations
- @Summary(s = "Fetch the current time from the given domain", flag = FeatureFlag.Testing)
- def fetch_domain_time(domainAlias: DomainAlias, timeout: NonNegativeDuration): CantonTimestamp
- Annotations
- @Summary(s = "Fetch the current time from the given domain", flag = FeatureFlag.Testing)
- def fetch_domain_times(timeout: NonNegativeDuration = consoleEnvironment.commandTimeouts.ledgerCommand): Unit
- Annotations
- @Summary(s = "Fetch the current time from all connected domains", flag = FeatureFlag.Testing)
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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"))
- def help()(implicit consoleEnvironment: ConsoleEnvironment): Unit
- Definition Classes
- Helpful
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Definition Classes
- ParticipantTestingGroup → NamedLogging
- def maybe_bong(targets: Set[ParticipantId], validators: Set[ParticipantId] = Set(), timeout: NonNegativeDuration = 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)
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- 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])