public interface RemoteConnection extends ConnectionThrottle, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
addSecurityHandlers() |
boolean |
blockOnNotWritable(RpcOutcomeListener<?> listener) |
void |
channelClosed(RpcException ex) |
void |
close() |
<V> ChannelListenerWithCoordinationId |
createNewRpcListener(RpcOutcomeListener<V> handler,
Class<V> clazz) |
BufferAllocator |
getAllocator() |
<V> RpcOutcome<V> |
getAndRemoveRpcOutcome(int rpcType,
int coordinationId,
Class<V> clazz) |
io.netty.channel.Channel |
getChannel() |
String |
getName() |
SocketAddress |
getRemoteAddress() |
boolean |
inEventLoop() |
boolean |
isActive() |
void |
recordRemoteFailure(int coordinationId,
UserBitShared.DrillPBError failure) |
setAutoRead
boolean inEventLoop()
String getName()
BufferAllocator getAllocator()
io.netty.channel.Channel getChannel()
boolean blockOnNotWritable(RpcOutcomeListener<?> listener)
boolean isActive()
<V> RpcOutcome<V> getAndRemoveRpcOutcome(int rpcType, int coordinationId, Class<V> clazz)
<V> ChannelListenerWithCoordinationId createNewRpcListener(RpcOutcomeListener<V> handler, Class<V> clazz)
void recordRemoteFailure(int coordinationId, UserBitShared.DrillPBError failure)
void channelClosed(RpcException ex)
SocketAddress getRemoteAddress()
void addSecurityHandlers()
void close()
close
in interface AutoCloseable
Copyright © 1970 The Apache Software Foundation. All rights reserved.