package admin
- Alphabetic
- Public
- Protected
Package Members
Type Members
- final case class AdminWorkflowConfig(bongTestMaxLevel: Long = 0, retries: Int = 10, submissionTimeout: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofHours(1), autoloadDar: Boolean = true) extends Product with Serializable
Configuration options for Canton admin workflows like
participant.health.ping
Configuration options for Canton admin workflows like
participant.health.ping
- bongTestMaxLevel
Upper bound on the level of a bong that the participant can initiate. The participant can still participate in bongs at higher levels. Use this to limit the load the participants can cause by initiating bongs.
- retries
The maximum number of times the com.digitalasset.canton.participant.ledger.api.client.CommandSubmitterWithRetry will retry an admin command submitted to the com.digitalasset.canton.participant.admin.AdminWorkflowServices.
- submissionTimeout
Defines how long an admin workflow waits until it observes a completion for its command submissions before it assumes that the submission is lost and retries. If a lower timeout value is specified for an admin workflow, they take precedence.
- trait AdminWorkflowService extends AutoCloseable
Admin service that connects to the ledger and process events
- class AdminWorkflowServices extends FlagCloseableAsync with NamedLogging with Spanning with NoTracing
Manages our admin workflow applications (ping, dar distribution).
Manages our admin workflow applications (ping, dar distribution). Currently each is individual application with their own ledger connection and acting independently.
- trait DarService extends AnyRef
- class DomainConnectivityService extends NamedLogging
- class EnterpriseResourceManagementService extends ResourceManagementService
- class PackageDependencyResolver extends NamedLogging with FlagCloseable with PackageDependencyResolverUS
- trait PackageOps extends NamedLogging
- abstract class PackageOpsCommon extends PackageOps
- class PackageOpsImpl extends PackageOpsCommon
- class PackageService extends DarService with PackageInfoService with NamedLogging with FlagCloseable
- class PackageUpgradeValidator extends NamedLogging
- class PackageUploader extends NamedLogging with FlagCloseable
Stateful class encapsulating the DAR upload flow.
Stateful class encapsulating the DAR upload flow. It manages an in-memory state used for resolving package-id to (package-name, package-version) pairs needed for package upgrade validations on DAR uploads.
- class PingService extends AdminWorkflowService with FlagCloseable with HasCloseContext with NamedLogging
Implements the core of the ledger ping service for a participant.
Implements the core of the ledger ping service for a participant. The service measures the time needed for a nanobot on the responder to act on a contract created by the initiator.
The main functionality: 1. once instantiated, it automatically starts a Scala Nanobot that responds to pings for this participant 2. it provides a ping method that sends a ping to the given (target) party
Parameters:
- Annotations
- @SuppressWarnings()
- final case class ResourceLimits(maxDirtyRequests: Option[NonNegativeInt], maxRate: Option[NonNegativeInt], maxBurstFactor: PositiveDouble = ResourceLimits.defaultMaxBurstFactor) extends Product with Serializable
Encapsulated resource limits for a participant.
Encapsulated resource limits for a participant.
- maxDirtyRequests
the maximum number of requests that are currently being validated. This also covers requests submitted by other participants.
- maxRate
the maximum rate at which commands may be submitted through the ledger api.
- maxBurstFactor
to ratio of the max rate, describing the maximum acceptable initial burst before the steady rate limiting kicks in. example: if maxRate is 100 and the burst ratio is 0.3, then the first 30 commands can submitted in the same instant, while thereafter, only one command every 10ms is accepted.
- trait ResourceManagementService extends AnyRef
- class TransferService extends AnyRef
Value Members
- object AdminWorkflowServices extends AdminWorkflowServicesErrorGroup
- object CantonPackageServiceError extends PackageServiceErrorGroup
- object PackageService
- object PackageUpgradeValidator
- object PackageUploader
- object PingService
- object ResourceLimits extends Serializable
- object ResourceManagementService