Packages

class ParticipantRepairAdministration extends FeatureFlagFilter with NoTracing with Helpful

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

Instance Constructors

  1. new ParticipantRepairAdministration(consoleEnvironment: ConsoleEnvironment, runner: AdminCommandRunner, 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 cantonConfig: CantonConfig
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  6. def check[T](flag: FeatureFlag)(command: => T): T
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. val consoleEnvironment: ConsoleEnvironment
  9. def download(parties: Set[PartyId], outputFile: String = ParticipantRepairAdministration.defaultFile, filterDomainId: String = "", timestamp: Option[Instant] = None, protocolVersion: Option[ProtocolVersion] = None, chunkSize: Option[PositiveInt] = None, contractDomainRenames: Map[DomainId, DomainId] = Map.empty): Unit
    Annotations
    @Summary(s = "Download all contracts for the given set of parties to a file.", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """This command can be used to download the current active contract set of a given set of parties to a text file.
    |This is mainly interesting for recovery and operational purposes.
    |
    |The file will contain base64 encoded strings, one line per contract. The lines are written
    |sorted according to their domain and contract id. This allows to compare the contracts stored
    |by two participants using standard file comparison tools.
    |The domain-id is printed with the prefix domain-id before the block of contracts starts.
    |
    |This command may take a long time to complete and may require significant resources.
    |It will first load the contract ids of the active contract set into memory and then subsequently
    |load the contracts in batches and inspect their stakeholders. As this operation needs to traverse
    |the entire datastore, it might take a long time to complete.
    |
    |The command will return a map of domainId -> number of active contracts stored
    |
    The arguments are:
    - parties: identifying contracts having at least one stakeholder from the given set
    - outputFile: the output file name where to store the data. Use .gz as a suffix to get a compressed file (recommended)
    - filterDomainId: restrict the export to a given domain
    - timestamp: optionally a timestamp for which we should take the state (useful to reconcile states of a domain)
    - protocolVersion: optional the protocol version to use for the serialization. Defaults to the one of the domains.
    - chunkSize: size of the byte chunks to stream back: default 1024 * 1024 * 2 = (2MB)
    - contractDomainRenames: As part of the export, allow to rename the associated domain id of contracts from one domain to another based on the mapping.
    """
    )
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. 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"))
  16. def help()(implicit consoleEnvironment: ConsoleEnvironment): Unit
    Definition Classes
    Helpful
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  19. val loggerFactory: NamedLoggerFactory
  20. def migrate_domain(source: DomainAlias, target: DomainConnectionConfig): Unit
    Annotations
    @Summary(s = "Migrate contracts from one domain to another one.", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """This method can be used to migrate all the contracts associated with a domain to a new domain connection.
    This method will register the new domain, connect to it and then re-associate all contracts on the source
    domain to the target domain. Please note that this migration needs to be done by all participants
    at the same time. The domain should only be used once all participants have finished their migration.

    The arguments are:
    source: the domain alias of the source domain
    target: the configuration for the target domain
    """
    )
  21. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. implicit def traceContext: TraceContext
    Attributes
    protected
    Definition Classes
    NoTracing
  29. def upload(inputFile: String = ParticipantRepairAdministration.defaultFile): Unit
    Annotations
    @Summary(s = "Import ACS snapshot", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Uploads a binary into the participant's ACS""")
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. 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 NoTracing

Inherited from FeatureFlagFilter

Inherited from NamedLogging

Inherited from AnyRef

Inherited from Any

Ungrouped