com.digitalasset.canton.admin.api.client.commands.LedgerApiCommands.LedgerConfigurationService
GetLedgerConfiguration
final case class GetLedgerConfiguration(expectedConfigs: Int, timeout: FiniteDuration)(scheduler: ScheduledExecutorService) extends BaseCommand[GetLedgerConfigurationRequest, Seq[daml.ledger.api.v1.ledger_configuration_service.LedgerConfiguration], Seq[daml.ledger.api.v1.ledger_configuration_service.LedgerConfiguration]] with Product with Serializable
- Alphabetic
- By Inheritance
- GetLedgerConfiguration
- Serializable
- Product
- Equals
- BaseCommand
- GrpcAdminCommand
- AdminCommand
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new GetLedgerConfiguration(expectedConfigs: Int, timeout: FiniteDuration)(scheduler: ScheduledExecutorService)
Type Members
- type Svc = LedgerConfigurationServiceStub
- Definition Classes
- BaseCommand → GrpcAdminCommand
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def createRequest(): Either[String, GetLedgerConfigurationRequest]
Create the request from configured options
Create the request from configured options
- Definition Classes
- GetLedgerConfiguration → AdminCommand
- def createService(channel: ManagedChannel): LedgerConfigurationServiceStub
Create the GRPC service to call
Create the GRPC service to call
- Definition Classes
- BaseCommand → GrpcAdminCommand
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expectedConfigs: Int
- def fullName: String
Command's full name used to identify command in logging and span reporting
Command's full name used to identify command in logging and span reporting
- Definition Classes
- AdminCommand
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def handleResponse(response: Seq[daml.ledger.api.v1.ledger_configuration_service.LedgerConfiguration]): Either[String, Seq[daml.ledger.api.v1.ledger_configuration_service.LedgerConfiguration]]
Handle the response the service has provided
Handle the response the service has provided
- Definition Classes
- GetLedgerConfiguration → AdminCommand
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def submitRequest(service: LedgerConfigurationServiceStub, request: GetLedgerConfigurationRequest): Future[Seq[daml.ledger.api.v1.ledger_configuration_service.LedgerConfiguration]]
Submit the created request to our service
Submit the created request to our service
- Definition Classes
- GetLedgerConfiguration → GrpcAdminCommand
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timeout: FiniteDuration
- def timeoutType: TimeoutType
Determines within which time frame the request should complete
Determines within which time frame the request should complete
Some requests can run for a very long time. In this case, they should be "unbounded". For other requests, you will want to set a custom timeout apart from the global default bounded timeout
- Definition Classes
- GetLedgerConfiguration → AdminCommand
- 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])