public class GossipClient
extends java.lang.Object
| Constructor and Description |
|---|
GossipClient(io.grpc.ManagedChannel channel,
Timeouts timeouts) |
GossipClient(java.lang.String host,
int port,
Timeouts timeouts,
io.grpc.netty.shaded.io.netty.handler.ssl.SslContext sslContext) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<ClusterInfo> |
read() |
void |
shutdown() |
public GossipClient(java.lang.String host,
int port,
Timeouts timeouts,
io.grpc.netty.shaded.io.netty.handler.ssl.SslContext sslContext)
public GossipClient(io.grpc.ManagedChannel channel,
Timeouts timeouts)
public void shutdown()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic java.util.concurrent.CompletableFuture<ClusterInfo> read()