Class RawClient

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class RawClient
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      Flow getFlow()  
      boolean isClosed()  
      <T extends io.pravega.shared.protocol.netty.Request & io.pravega.shared.protocol.netty.WireCommand>
      java.util.concurrent.CompletableFuture<io.pravega.shared.protocol.netty.Reply>
      sendRequest​(long requestId, T request)  
      • Methods inherited from class java.lang.Object

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

      • RawClient

        public RawClient​(io.pravega.shared.protocol.netty.PravegaNodeUri uri,
                         ConnectionPool connectionPool)
    • Method Detail

      • sendRequest

        public <T extends io.pravega.shared.protocol.netty.Request & io.pravega.shared.protocol.netty.WireCommand> java.util.concurrent.CompletableFuture<io.pravega.shared.protocol.netty.Reply> sendRequest​(long requestId,
                                                                                                                                                                                                              T request)
      • isClosed

        public boolean isClosed()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • getFlow

        public Flow getFlow()