final case class Get(timeout: FiniteDuration)(scheduler: ScheduledExecutorService) extends BaseCommand[GetTimeRequest, Seq[Either[String, CantonTimestamp]], CantonTimestamp] with Product with Serializable
- Alphabetic
- By Inheritance
- Get
- Serializable
- Product
- Equals
- BaseCommand
- GrpcAdminCommand
- AdminCommand
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Get(timeout: FiniteDuration)(scheduler: ScheduledExecutorService)
Type Members
- type Svc = TimeServiceStub
- 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, GetTimeRequest]
Create the request from configured options
Create the request from configured options
- Definition Classes
- Get → AdminCommand
- def createService(channel: ManagedChannel): TimeServiceStub
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
- 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[Either[String, CantonTimestamp]]): Either[String, CantonTimestamp]
Handle the response the service has provided
Handle the response the service has provided
- Definition Classes
- Get → 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: TimeServiceStub, request: GetTimeRequest): Future[Seq[Either[String, CantonTimestamp]]]
Submit the created request to our service
Submit the created request to our service
- Definition Classes
- Get → 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
- 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])