Package org.apache.hadoop.hbase.ipc
Class FailingNettyRpcServer.FailingConnection
java.lang.Object
org.apache.hadoop.hbase.ipc.ServerRpcConnection
org.apache.hadoop.hbase.ipc.FailingNettyRpcServer.FailingConnection
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- FailingNettyRpcServer
static final class FailingNettyRpcServer.FailingConnection
extends org.apache.hadoop.hbase.ipc.ServerRpcConnection
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.ipc.ServerRpcConnection
org.apache.hadoop.hbase.ipc.ServerRpcConnection.PreambleResponse -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final org.apache.hbase.thirdparty.io.netty.channel.ChannelFields inherited from class org.apache.hadoop.hbase.ipc.ServerRpcConnection
addr, authenticatedWithFallback, callCleanup, clientCertificateChain, codec, compressionCodec, connectionAttributes, connectionHeader, connectionHeaderRead, hostAddress, provider, remotePort, retryImmediatelySupported, rpcServer, saslServer, service, skipInitialSaslHandshake, ugi, user, useSasl -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFailingConnection(FailingNettyRpcServer rpcServer, org.apache.hbase.thirdparty.io.netty.channel.Channel channel) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.apache.hadoop.hbase.ipc.NettyServerCallcreateCall(int arg0, org.apache.hbase.thirdparty.com.google.protobuf.BlockingService arg1, org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor arg2, org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader arg3, org.apache.hbase.thirdparty.com.google.protobuf.Message arg4, org.apache.hadoop.hbase.ExtendedCellScanner arg5, long arg6, InetAddress arg7, int arg8, org.apache.hadoop.hbase.ipc.RpcServer.CallCleanup arg9) protected voiddoRespond(org.apache.hadoop.hbase.ipc.RpcResponse arg0) boolean(package private) voidprocess(org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf arg0) voidprocessRequest(org.apache.hadoop.hbase.nio.ByteBuff buf) (package private) voidMethods inherited from class org.apache.hadoop.hbase.ipc.ServerRpcConnection
callCleanupIfNeeded, disposeSasl, doRawSaslReply, finishSaslNegotiation, getConnectionHeader, getErrorResponse, getHostAddress, getHostInetAddress, getOrCreateSaslServer, getRemotePort, getVersionInfo, isSimpleAuthentication, processOneRpc, processPreamble, toString
-
Field Details
-
channel
final org.apache.hbase.thirdparty.io.netty.channel.Channel channel
-
-
Constructor Details
-
FailingConnection
private FailingConnection(FailingNettyRpcServer rpcServer, org.apache.hbase.thirdparty.io.netty.channel.Channel channel)
-
-
Method Details
-
processRequest
public void processRequest(org.apache.hadoop.hbase.nio.ByteBuff buf) throws IOException, InterruptedException - Overrides:
processRequestin classorg.apache.hadoop.hbase.ipc.ServerRpcConnection- Throws:
IOExceptionInterruptedException
-
setupHandler
void setupHandler() -
process
void process(org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf arg0) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
close
public void close() -
isConnectionOpen
public boolean isConnectionOpen()- Specified by:
isConnectionOpenin classorg.apache.hadoop.hbase.ipc.ServerRpcConnection
-
createCall
public org.apache.hadoop.hbase.ipc.NettyServerCall createCall(int arg0, org.apache.hbase.thirdparty.com.google.protobuf.BlockingService arg1, org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor arg2, org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader arg3, org.apache.hbase.thirdparty.com.google.protobuf.Message arg4, org.apache.hadoop.hbase.ExtendedCellScanner arg5, long arg6, InetAddress arg7, int arg8, org.apache.hadoop.hbase.ipc.RpcServer.CallCleanup arg9) - Specified by:
createCallin classorg.apache.hadoop.hbase.ipc.ServerRpcConnection
-
doRespond
protected void doRespond(org.apache.hadoop.hbase.ipc.RpcResponse arg0) - Specified by:
doRespondin classorg.apache.hadoop.hbase.ipc.ServerRpcConnection
-