PekkoGrpcClient

org.apache.pekko.grpc.javadsl.PekkoGrpcClient
@DoNotInherit

Common trait of all generated Apache Pekko gRPC clients. Not for user extension.

Attributes

Source
PekkoGrpcClient.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def close(): CompletionStage[Done]

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

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

This method is only valid for clients that use an internal channel. If the client was created with a shared, user-provided channel, the channel itself should be closed.

Attributes

Throws
org.apache.pekko.grpc.GrpcClientCloseException

if client was created with a user-provided pekko.grpc.GrpcChannel.

Source
PekkoGrpcClient.scala
def closed(): CompletionStage[Done]

Attributes

Source
PekkoGrpcClient.scala