Class GossipClient


  • public class GossipClient
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor 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)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<ClusterInfo> read()  
      void shutdown()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GossipClient

        public GossipClient​(java.lang.String host,
                            int port,
                            Timeouts timeouts,
                            io.grpc.netty.shaded.io.netty.handler.ssl.SslContext sslContext)
      • GossipClient

        public GossipClient​(io.grpc.ManagedChannel channel,
                            Timeouts timeouts)
    • Method Detail

      • shutdown

        public void shutdown()
                      throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • read

        public java.util.concurrent.CompletableFuture<ClusterInfo> read()