GrpcChannel

final class GrpcChannel
Companion:
object
Source:
GrpcChannel.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def close(): Future[Done]

Scala API: Initiates a shutdown in which preexisting and new calls are cancelled.

Scala API: Initiates a shutdown in which preexisting and new calls are cancelled.

Source:
GrpcChannel.scala
def closeCS(): CompletionStage[Done]

Java API: Initiates a shutdown in which preexisting and new calls are cancelled.

Java API: Initiates a shutdown in which preexisting and new calls are cancelled.

Source:
GrpcChannel.scala
def closed(): Future[Done]

Scala API: Returns a Future that completes successfully when channel is shut down via close() or exceptionally if a connection cannot be established or reestablished after maxConnectionAttempts.

Scala API: Returns a Future that completes successfully when channel is shut down via close() or exceptionally if a connection cannot be established or reestablished after maxConnectionAttempts.

Source:
GrpcChannel.scala
def closedCS(): CompletionStage[Done]

Java API: Returns a CompletionStage that completes successfully when channel is shut down via close(), or exceptionally if connection cannot be established or reestablished after maxConnectionAttempts.

Java API: Returns a CompletionStage that completes successfully when channel is shut down via close(), or exceptionally if connection cannot be established or reestablished after maxConnectionAttempts.

Source:
GrpcChannel.scala