Class RawClient
- java.lang.Object
-
- io.pravega.client.connection.impl.RawClient
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class RawClient extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description RawClient(Controller controller, ConnectionPool connectionPool, Segment segmentId)RawClient(io.pravega.shared.protocol.netty.PravegaNodeUri uri, ConnectionPool connectionPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()FlowgetFlow()booleanisClosed()<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)
-
-
-
Constructor Detail
-
RawClient
public RawClient(io.pravega.shared.protocol.netty.PravegaNodeUri uri, ConnectionPool connectionPool)
-
RawClient
public RawClient(Controller controller, ConnectionPool connectionPool, Segment segmentId)
-
-
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:
closein interfacejava.lang.AutoCloseable
-
getFlow
public Flow getFlow()
-
-