Package | Description |
---|---|
alluxio.master.backup | |
alluxio.master.transport |
Modifier and Type | Method and Description |
---|---|
GrpcMessagingConnection |
BackupHandshakeMessage.getConnection() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractBackupRole.sendMessageBlocking(GrpcMessagingConnection connection,
Object message)
Used to send message via connection and wait until response is received.
|
void |
BackupHandshakeMessage.setConnection(GrpcMessagingConnection connection) |
Modifier and Type | Class and Description |
---|---|
class |
GrpcMessagingClientConnection
GrpcMessagingConnection implementation for clients. |
class |
GrpcMessagingServerConnection
GrpcMessagingConnection implementation for server. |
Modifier and Type | Method and Description |
---|---|
<T,U> GrpcMessagingConnection |
GrpcMessagingConnection.handler(Class<T> type,
java.util.function.Consumer<T> handler)
Registers a new message handler.
|
<T,U> GrpcMessagingConnection |
GrpcMessagingConnection.handler(Class<T> type,
java.util.function.Function<T,CompletableFuture<U>> handler)
Registers a new message handler.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<GrpcMessagingConnection> |
GrpcMessagingClient.connect(InetSocketAddress address)
Creates a client and connects to the given address.
|
Listener<GrpcMessagingConnection> |
GrpcMessagingConnection.onClose(java.util.function.Consumer<GrpcMessagingConnection> listener)
Adds a close listener.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
GrpcMessagingServer.listen(InetSocketAddress address,
java.util.function.Consumer<GrpcMessagingConnection> listener)
Listens to the given address.
|
Listener<GrpcMessagingConnection> |
GrpcMessagingConnection.onClose(java.util.function.Consumer<GrpcMessagingConnection> listener)
Adds a close listener.
|
Constructor and Description |
---|
GrpcMessagingServiceClientHandler(InetSocketAddress serverAddress,
java.util.function.Consumer<GrpcMessagingConnection> listener,
GrpcMessagingContext context,
ExecutorService executor,
long requestTimeoutMs) |
Copyright © 2023. All Rights Reserved.