public class ReconnectingConnection.ConnectionListeningFuture<R extends com.google.protobuf.MessageLite,E extends com.google.protobuf.Internal.EnumLite,M extends com.google.protobuf.MessageLite> extends org.apache.drill.shaded.guava.com.google.common.util.concurrent.AbstractFuture<C> implements RpcConnectionHandler<C>
RpcConnectionHandler.FailureType| Constructor and Description |
|---|
ConnectionListeningFuture(RpcCommand<R,C,E,M> cmd) |
| Modifier and Type | Method and Description |
|---|---|
void |
connectionFailed(RpcConnectionHandler.FailureType type,
Throwable t) |
void |
connectionSucceeded(C incoming) |
void |
waitAndRun()
Called by
|
public ConnectionListeningFuture(RpcCommand<R,C,E,M> cmd)
public void waitAndRun()
public void connectionFailed(RpcConnectionHandler.FailureType type, Throwable t)
connectionFailed in interface RpcConnectionHandler<C extends ClientConnection>public void connectionSucceeded(C incoming)
connectionSucceeded in interface RpcConnectionHandler<C extends ClientConnection>Copyright © 2021 The Apache Software Foundation. All rights reserved.