You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by gi...@apache.org on 2017/05/03 14:59:29 UTC
[35/51] [partial] hbase-site git commit: Published site at
82d554e3783372cc6b05489452c815b57c06f6cd.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/31df4674/devapidocs/org/apache/hadoop/hbase/ipc/RpcServer.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/ipc/RpcServer.html b/devapidocs/org/apache/hadoop/hbase/ipc/RpcServer.html
index 7e29d55..737b9b3 100644
--- a/devapidocs/org/apache/hadoop/hbase/ipc/RpcServer.html
+++ b/devapidocs/org/apache/hadoop/hbase/ipc/RpcServer.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":10,"i8":10,"i9":9,"i10":6,"i11":9,"i12":9,"i13":9,"i14":9,"i15":10,"i16":10,"i17":9,"i18":9,"i19":9,"i20":9,"i21":10,"i22":9,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10};
+var methods = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":9,"i5":10,"i6":10,"i7":10,"i8":9,"i9":10,"i10":10,"i11":9,"i12":6,"i13":9,"i14":9,"i15":9,"i16":9,"i17":10,"i18":10,"i19":9,"i20":9,"i21":9,"i22":9,"i23":10,"i24":9,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -113,13 +113,13 @@ var activeTableTab = "activeTableTab";
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
-<dd><a href="../../../../../org/apache/hadoop/hbase/ipc/SimpleRpcServer.html" title="class in org.apache.hadoop.hbase.ipc">SimpleRpcServer</a></dd>
+<dd><a href="../../../../../org/apache/hadoop/hbase/ipc/NettyRpcServer.html" title="class in org.apache.hadoop.hbase.ipc">NettyRpcServer</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/SimpleRpcServer.html" title="class in org.apache.hadoop.hbase.ipc">SimpleRpcServer</a></dd>
</dl>
<hr>
<br>
<pre><a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.LimitedPrivate.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.LimitedPrivate</a>(<a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.LimitedPrivate.html#value--">value</a>={"Coprocesssor","Phoenix"})
<a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceStability.Evolving.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceStability.Evolving</a>
-public abstract class <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.113">RpcServer</a>
+public abstract class <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.135">RpcServer</a>
extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterface.html" title="interface in org.apache.hadoop.hbase.ipc">RpcServerInterface</a>, <a href="../../../../../org/apache/hadoop/hbase/conf/ConfigurationObserver.html" title="interface in org.apache.hadoop.hbase.conf">ConfigurationObserver</a></pre>
<div class="block">An RPC server that hosts protobuf described Services.</div>
@@ -335,74 +335,81 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
</td>
</tr>
<tr class="rowColor">
+<td class="colFirst"><code>protected static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#NIO_BUFFER_LIMIT">NIO_BUFFER_LIMIT</a></span></code>
+<div class="block">When the read or write buffer size is larger than this limit, i/o will be
+ done in chunks of this size.</div>
+</td>
+</tr>
+<tr class="altColor">
<td class="colFirst"><code>protected static <a href="../../../../../org/apache/hadoop/hbase/exceptions/RequestTooBigException.html" title="class in org.apache.hadoop.hbase.exceptions">RequestTooBigException</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#REQUEST_TOO_BIG_EXCEPTION">REQUEST_TOO_BIG_EXCEPTION</a></span></code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/hadoop/hbase/io/ByteBufferPool.html" title="class in org.apache.hadoop.hbase.io">ByteBufferPool</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#reservoir">reservoir</a></span></code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>private <a href="../../../../../org/apache/hadoop/hbase/regionserver/RSRpcServices.html" title="class in org.apache.hadoop.hbase.regionserver">RSRpcServices</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#rsRpcServices">rsRpcServices</a></span></code>
<div class="block">Used to get details for scan with a scanner_id<br/>
TODO try to figure out a better way and remove reference from regionserver package later.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>(package private) boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#running">running</a></span></code>
<div class="block">This flag is used to indicate to sub threads when they should go down.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#scheduler">scheduler</a></span></code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>protected org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#secretManager">secretManager</a></span></code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#server">server</a></span></code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.BlockingServiceAndInterface.html" title="class in org.apache.hadoop.hbase.ipc">RpcServer.BlockingServiceAndInterface</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#services">services</a></span></code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>(package private) boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#started">started</a></span></code>
<div class="block">This flag is set to true after all threads are up and 'running' and the server is then opened
for business by the call to <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterface.html#start--"><code>RpcServerInterface.start()</code></a>.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#tcpKeepAlive">tcpKeepAlive</a></span></code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#tcpNoDelay">tcpNoDelay</a></span></code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/hadoop/hbase/security/UserProvider.html" title="class in org.apache.hadoop.hbase.security">UserProvider</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#userProvider">userProvider</a></span></code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#WARN_RESPONSE_SIZE">WARN_RESPONSE_SIZE</a></span></code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#WARN_RESPONSE_TIME">WARN_RESPONSE_TIME</a></span></code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#warnResponseSize">warnResponseSize</a></span></code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#warnResponseTime">warnResponseTime</a></span></code> </td>
</tr>
@@ -475,104 +482,120 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
</td>
</tr>
<tr id="i4" class="altColor">
+<td class="colFirst"><code>private static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#channelIO-java.nio.channels.ReadableByteChannel-java.nio.channels.WritableByteChannel-java.nio.ByteBuffer-">channelIO</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ReadableByteChannel</a> readCh,
+ <a href="http://docs.oracle.com/javase/8/docs/api/java/nio/channels/WritableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">WritableByteChannel</a> writeCh,
+ <a href="http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> buf)</code>
+<div class="block">Helper for <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#channelRead-java.nio.channels.ReadableByteChannel-java.nio.ByteBuffer-"><code>channelRead(java.nio.channels.ReadableByteChannel, java.nio.ByteBuffer)</code></a>
+ and <code>#channelWrite(GatheringByteChannel, BufferChain)</code>.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#channelRead-java.nio.channels.ReadableByteChannel-java.nio.ByteBuffer-">channelRead</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ReadableByteChannel</a> channel,
+ <a href="http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> buffer)</code>
+<div class="block">This is a wrapper around <a href="http://docs.oracle.com/javase/8/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true#read-java.nio.ByteBuffer-" title="class or interface in java.nio.channels"><code>ReadableByteChannel.read(java.nio.ByteBuffer)</code></a>.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.html" title="class in org.apache.hadoop.hbase.security.token">AuthenticationTokenSecretManager</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#createSecretManager--">createSecretManager</a></span>()</code> </td>
</tr>
-<tr id="i5" class="rowColor">
+<tr id="i7" class="rowColor">
<td class="colFirst"><code>(package private) org.apache.hadoop.conf.Configuration</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getConf--">getConf</a></span>()</code> </td>
</tr>
-<tr id="i6" class="altColor">
+<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcCall.html" title="interface in org.apache.hadoop.hbase.ipc">RpcCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getCurrentCall--">getCurrentCall</a></span>()</code>
<div class="block">Needed for features such as delayed calls.</div>
</td>
</tr>
-<tr id="i7" class="rowColor">
+<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/ipc/HBaseRPCErrorHandler.html" title="interface in org.apache.hadoop.hbase.ipc">HBaseRPCErrorHandler</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getErrorHandler--">getErrorHandler</a></span>()</code> </td>
</tr>
-<tr id="i8" class="altColor">
+<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/ipc/MetricsHBaseServer.html" title="class in org.apache.hadoop.hbase.ipc">MetricsHBaseServer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getMetrics--">getMetrics</a></span>()</code>
<div class="block">Returns the metrics instance for reporting RPC call statistics</div>
</td>
</tr>
-<tr id="i9" class="rowColor">
+<tr id="i11" class="rowColor">
<td class="colFirst"><code>(package private) static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getMinSizeForReservoirUse-org.apache.hadoop.hbase.io.ByteBufferPool-">getMinSizeForReservoirUse</a></span>(<a href="../../../../../org/apache/hadoop/hbase/io/ByteBufferPool.html" title="class in org.apache.hadoop.hbase.io">ByteBufferPool</a> pool)</code> </td>
</tr>
-<tr id="i10" class="altColor">
+<tr id="i12" class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getNumOpenConnections--">getNumOpenConnections</a></span>()</code>
<div class="block">The number of open RPC conections</div>
</td>
</tr>
-<tr id="i11" class="rowColor">
+<tr id="i13" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/net/InetAddress.html?is-external=true" title="class or interface in java.net">InetAddress</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getRemoteAddress--">getRemoteAddress</a></span>()</code> </td>
</tr>
-<tr id="i12" class="altColor">
+<tr id="i14" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/net/InetAddress.html?is-external=true" title="class or interface in java.net">InetAddress</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getRemoteIp--">getRemoteIp</a></span>()</code>
<div class="block">Returns the remote side ip address when invoked inside an RPC
Returns null incase of an error.</div>
</td>
</tr>
-<tr id="i13" class="rowColor">
+<tr id="i15" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getRequestUser--">getRequestUser</a></span>()</code>
<div class="block">Returns the user credentials associated with the current RPC request or
<code>null</code> if no credentials were provided.</div>
</td>
</tr>
-<tr id="i14" class="altColor">
+<tr id="i16" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getRequestUserName--">getRequestUserName</a></span>()</code>
<div class="block">Returns the username for any user associated with the current RPC
request or <code>null</code> if no user is set.</div>
</td>
</tr>
-<tr id="i15" class="rowColor">
+<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getScheduler--">getScheduler</a></span>()</code> </td>
</tr>
-<tr id="i16" class="altColor">
+<tr id="i18" class="altColor">
<td class="colFirst"><code>org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getSecretManager--">getSecretManager</a></span>()</code> </td>
</tr>
-<tr id="i17" class="rowColor">
+<tr id="i19" class="rowColor">
<td class="colFirst"><code>protected static org.apache.hadoop.hbase.shaded.com.google.protobuf.BlockingService</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getService-java.util.List-java.lang.String-">getService</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.BlockingServiceAndInterface.html" title="class in org.apache.hadoop.hbase.ipc">RpcServer.BlockingServiceAndInterface</a>> services,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> serviceName)</code> </td>
</tr>
-<tr id="i18" class="altColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code>protected static <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.BlockingServiceAndInterface.html" title="class in org.apache.hadoop.hbase.ipc">RpcServer.BlockingServiceAndInterface</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getServiceAndInterface-java.util.List-java.lang.String-">getServiceAndInterface</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.BlockingServiceAndInterface.html" title="class in org.apache.hadoop.hbase.ipc">RpcServer.BlockingServiceAndInterface</a>> services,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> serviceName)</code> </td>
</tr>
-<tr id="i19" class="rowColor">
+<tr id="i21" class="rowColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getServiceInterface-java.util.List-java.lang.String-">getServiceInterface</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.BlockingServiceAndInterface.html" title="class in org.apache.hadoop.hbase.ipc">RpcServer.BlockingServiceAndInterface</a>> services,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> serviceName)</code> </td>
</tr>
-<tr id="i20" class="altColor">
+<tr id="i22" class="altColor">
<td class="colFirst"><code>protected static <a href="../../../../../org/apache/hadoop/hbase/monitoring/MonitoredRPCHandler.html" title="interface in org.apache.hadoop.hbase.monitoring">MonitoredRPCHandler</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#getStatus--">getStatus</a></span>()</code> </td>
</tr>
-<tr id="i21" class="rowColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#initReconfigurable-org.apache.hadoop.conf.Configuration-">initReconfigurable</a></span>(org.apache.hadoop.conf.Configuration confToLoad)</code> </td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i24" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#isInRpcCallContext--">isInRpcCallContext</a></span>()</code> </td>
</tr>
-<tr id="i23" class="rowColor">
+<tr id="i25" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#isStarted--">isStarted</a></span>()</code> </td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i26" class="altColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#logResponse-org.apache.hadoop.hbase.shaded.com.google.protobuf.Message-java.lang.String-java.lang.String-java.lang.String-java.lang.String-long-int-int-long-">logResponse</a></span>(org.apache.hadoop.hbase.shaded.com.google.protobuf.Message param,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> methodName,
@@ -587,33 +610,42 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
client Operations.</div>
</td>
</tr>
-<tr id="i25" class="rowColor">
+<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#onConfigurationChange-org.apache.hadoop.conf.Configuration-">onConfigurationChange</a></span>(org.apache.hadoop.conf.Configuration newConf)</code>
<div class="block">This method would be called by the <a href="../../../../../org/apache/hadoop/hbase/conf/ConfigurationManager.html" title="class in org.apache.hadoop.hbase.conf"><code>ConfigurationManager</code></a>
object when the <code>Configuration</code> object is reloaded from disk.</div>
</td>
</tr>
-<tr id="i26" class="altColor">
+<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#refreshAuthManager-org.apache.hadoop.security.authorize.PolicyProvider-">refreshAuthManager</a></span>(org.apache.hadoop.security.authorize.PolicyProvider pp)</code>
<div class="block">Refresh authentication manager policy.</div>
</td>
</tr>
-<tr id="i27" class="rowColor">
+<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#setErrorHandler-org.apache.hadoop.hbase.ipc.HBaseRPCErrorHandler-">setErrorHandler</a></span>(<a href="../../../../../org/apache/hadoop/hbase/ipc/HBaseRPCErrorHandler.html" title="interface in org.apache.hadoop.hbase.ipc">HBaseRPCErrorHandler</a> handler)</code>
<div class="block">Set the handler for calling out of RPC for error conditions.</div>
</td>
</tr>
-<tr id="i28" class="altColor">
+<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#setRsRpcServices-org.apache.hadoop.hbase.regionserver.RSRpcServices-">setRsRpcServices</a></span>(<a href="../../../../../org/apache/hadoop/hbase/regionserver/RSRpcServices.html" title="class in org.apache.hadoop.hbase.regionserver">RSRpcServices</a> rsRpcServices)</code> </td>
</tr>
-<tr id="i29" class="rowColor">
+<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#setSecretManager-org.apache.hadoop.security.token.SecretManager-">setSecretManager</a></span>(org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager)</code> </td>
</tr>
+<tr id="i32" class="altColor">
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#setupResponse-java.io.ByteArrayOutputStream-org.apache.hadoop.hbase.ipc.RpcServer.Call-java.lang.Throwable-java.lang.String-">setupResponse</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/ByteArrayOutputStream.html?is-external=true" title="class or interface in java.io">ByteArrayOutputStream</a> response,
+ <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.Call.html" title="class in org.apache.hadoop.hbase.ipc">RpcServer.Call</a> call,
+ <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t,
+ <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> error)</code>
+<div class="block">Setup response for the RPC Call.</div>
+</td>
+</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
@@ -649,7 +681,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>LOG</h4>
-<pre>public static final org.apache.commons.logging.Log <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.116">LOG</a></pre>
+<pre>public static final org.apache.commons.logging.Log <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.138">LOG</a></pre>
</li>
</ul>
<a name="CALL_QUEUE_TOO_BIG_EXCEPTION">
@@ -658,7 +690,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>CALL_QUEUE_TOO_BIG_EXCEPTION</h4>
-<pre>protected static final <a href="../../../../../org/apache/hadoop/hbase/CallQueueTooBigException.html" title="class in org.apache.hadoop.hbase">CallQueueTooBigException</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.117">CALL_QUEUE_TOO_BIG_EXCEPTION</a></pre>
+<pre>protected static final <a href="../../../../../org/apache/hadoop/hbase/CallQueueTooBigException.html" title="class in org.apache.hadoop.hbase">CallQueueTooBigException</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.139">CALL_QUEUE_TOO_BIG_EXCEPTION</a></pre>
</li>
</ul>
<a name="authorize">
@@ -667,7 +699,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>authorize</h4>
-<pre>private final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.120">authorize</a></pre>
+<pre>private final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.142">authorize</a></pre>
</li>
</ul>
<a name="isSecurityEnabled">
@@ -676,7 +708,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>isSecurityEnabled</h4>
-<pre>protected boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.121">isSecurityEnabled</a></pre>
+<pre>protected boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.143">isSecurityEnabled</a></pre>
</li>
</ul>
<a name="CURRENT_VERSION">
@@ -685,7 +717,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>CURRENT_VERSION</h4>
-<pre>public static final byte <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.123">CURRENT_VERSION</a></pre>
+<pre>public static final byte <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.145">CURRENT_VERSION</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.ipc.RpcServer.CURRENT_VERSION">Constant Field Values</a></dd>
@@ -698,7 +730,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>FALLBACK_TO_INSECURE_CLIENT_AUTH</h4>
-<pre>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.128">FALLBACK_TO_INSECURE_CLIENT_AUTH</a></pre>
+<pre>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.150">FALLBACK_TO_INSECURE_CLIENT_AUTH</a></pre>
<div class="block">Whether we allow a fallback to SIMPLE auth for insecure clients when security is enabled.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
@@ -712,7 +744,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_MAX_CALLQUEUE_LENGTH_PER_HANDLER</h4>
-<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.134">DEFAULT_MAX_CALLQUEUE_LENGTH_PER_HANDLER</a></pre>
+<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.156">DEFAULT_MAX_CALLQUEUE_LENGTH_PER_HANDLER</a></pre>
<div class="block">How many calls/handler are allowed in the queue.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
@@ -726,7 +758,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>cellBlockBuilder</h4>
-<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/ipc/CellBlockBuilder.html" title="class in org.apache.hadoop.hbase.ipc">CellBlockBuilder</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.136">cellBlockBuilder</a></pre>
+<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/ipc/CellBlockBuilder.html" title="class in org.apache.hadoop.hbase.ipc">CellBlockBuilder</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.158">cellBlockBuilder</a></pre>
</li>
</ul>
<a name="AUTH_FAILED_FOR">
@@ -735,7 +767,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>AUTH_FAILED_FOR</h4>
-<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.138">AUTH_FAILED_FOR</a></pre>
+<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.160">AUTH_FAILED_FOR</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.ipc.RpcServer.AUTH_FAILED_FOR">Constant Field Values</a></dd>
@@ -748,7 +780,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>AUTH_SUCCESSFUL_FOR</h4>
-<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.139">AUTH_SUCCESSFUL_FOR</a></pre>
+<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.161">AUTH_SUCCESSFUL_FOR</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.ipc.RpcServer.AUTH_SUCCESSFUL_FOR">Constant Field Values</a></dd>
@@ -761,7 +793,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>AUDITLOG</h4>
-<pre>protected static final org.apache.commons.logging.Log <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.140">AUDITLOG</a></pre>
+<pre>protected static final org.apache.commons.logging.Log <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.162">AUDITLOG</a></pre>
</li>
</ul>
<a name="secretManager">
@@ -770,7 +802,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>secretManager</h4>
-<pre>protected org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.142">secretManager</a></pre>
+<pre>protected org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.164">secretManager</a></pre>
</li>
</ul>
<a name="authManager">
@@ -779,7 +811,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>authManager</h4>
-<pre>protected org.apache.hadoop.security.authorize.ServiceAuthorizationManager <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.143">authManager</a></pre>
+<pre>protected org.apache.hadoop.security.authorize.ServiceAuthorizationManager <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.165">authManager</a></pre>
</li>
</ul>
<a name="CurCall">
@@ -788,7 +820,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>CurCall</h4>
-<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/ThreadLocal.html?is-external=true" title="class or interface in java.lang">ThreadLocal</a><<a href="../../../../../org/apache/hadoop/hbase/ipc/RpcCall.html" title="interface in org.apache.hadoop.hbase.ipc">RpcCall</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.148">CurCall</a></pre>
+<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/ThreadLocal.html?is-external=true" title="class or interface in java.lang">ThreadLocal</a><<a href="../../../../../org/apache/hadoop/hbase/ipc/RpcCall.html" title="interface in org.apache.hadoop.hbase.ipc">RpcCall</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.170">CurCall</a></pre>
<div class="block">This is set to Call object before Handler invokes an RPC and ybdie
after the call returns.</div>
</li>
@@ -799,7 +831,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>MONITORED_RPC</h4>
-<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/ThreadLocal.html?is-external=true" title="class or interface in java.lang">ThreadLocal</a><<a href="../../../../../org/apache/hadoop/hbase/monitoring/MonitoredRPCHandler.html" title="interface in org.apache.hadoop.hbase.monitoring">MonitoredRPCHandler</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.151">MONITORED_RPC</a></pre>
+<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/ThreadLocal.html?is-external=true" title="class or interface in java.lang">ThreadLocal</a><<a href="../../../../../org/apache/hadoop/hbase/monitoring/MonitoredRPCHandler.html" title="interface in org.apache.hadoop.hbase.monitoring">MonitoredRPCHandler</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.173">MONITORED_RPC</a></pre>
<div class="block">Keeps MonitoredRPCHandler per handler thread.</div>
</li>
</ul>
@@ -809,7 +841,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>bindAddress</h4>
-<pre>protected final <a href="http://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.153">bindAddress</a></pre>
+<pre>protected final <a href="http://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.175">bindAddress</a></pre>
</li>
</ul>
<a name="metrics">
@@ -818,7 +850,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>metrics</h4>
-<pre>protected <a href="../../../../../org/apache/hadoop/hbase/ipc/MetricsHBaseServer.html" title="class in org.apache.hadoop.hbase.ipc">MetricsHBaseServer</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.155">metrics</a></pre>
+<pre>protected <a href="../../../../../org/apache/hadoop/hbase/ipc/MetricsHBaseServer.html" title="class in org.apache.hadoop.hbase.ipc">MetricsHBaseServer</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.177">metrics</a></pre>
</li>
</ul>
<a name="conf">
@@ -827,7 +859,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>conf</h4>
-<pre>protected final org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.157">conf</a></pre>
+<pre>protected final org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.179">conf</a></pre>
</li>
</ul>
<a name="maxQueueSizeInBytes">
@@ -836,7 +868,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>maxQueueSizeInBytes</h4>
-<pre>protected final long <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.169">maxQueueSizeInBytes</a></pre>
+<pre>protected final long <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.191">maxQueueSizeInBytes</a></pre>
<div class="block">Maximum size in bytes of the currently queued and running Calls. If a new Call puts us over
this size, then we will reject the call (after parsing it though). It will go back to the
client and client will retry. Set this size with "hbase.ipc.server.max.callqueue.size". The
@@ -856,7 +888,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_MAX_CALLQUEUE_SIZE</h4>
-<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.170">DEFAULT_MAX_CALLQUEUE_SIZE</a></pre>
+<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.192">DEFAULT_MAX_CALLQUEUE_SIZE</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.ipc.RpcServer.DEFAULT_MAX_CALLQUEUE_SIZE">Constant Field Values</a></dd>
@@ -869,7 +901,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>callQueueSizeInBytes</h4>
-<pre>protected final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/LongAdder.html?is-external=true" title="class or interface in java.util.concurrent.atomic">LongAdder</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.176">callQueueSizeInBytes</a></pre>
+<pre>protected final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/LongAdder.html?is-external=true" title="class or interface in java.util.concurrent.atomic">LongAdder</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.198">callQueueSizeInBytes</a></pre>
<div class="block">This is a running count of the size in bytes of all outstanding calls whether currently
executing or queued waiting to be run.</div>
</li>
@@ -880,7 +912,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>tcpNoDelay</h4>
-<pre>protected final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.178">tcpNoDelay</a></pre>
+<pre>protected final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.200">tcpNoDelay</a></pre>
</li>
</ul>
<a name="tcpKeepAlive">
@@ -889,7 +921,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>tcpKeepAlive</h4>
-<pre>protected final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.179">tcpKeepAlive</a></pre>
+<pre>protected final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.201">tcpKeepAlive</a></pre>
</li>
</ul>
<a name="running">
@@ -898,7 +930,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>running</h4>
-<pre>volatile boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.186">running</a></pre>
+<pre>volatile boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.208">running</a></pre>
<div class="block">This flag is used to indicate to sub threads when they should go down. When we call
<a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterface.html#start--"><code>RpcServerInterface.start()</code></a>, all threads started will consult this flag on whether they should
keep going. It is set to false when <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterface.html#stop--"><code>RpcServerInterface.stop()</code></a> is called.</div>
@@ -910,7 +942,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>started</h4>
-<pre>volatile boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.192">started</a></pre>
+<pre>volatile boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.214">started</a></pre>
<div class="block">This flag is set to true after all threads are up and 'running' and the server is then opened
for business by the call to <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterface.html#start--"><code>RpcServerInterface.start()</code></a>.</div>
</li>
@@ -921,7 +953,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>authTokenSecretMgr</h4>
-<pre>protected <a href="../../../../../org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.html" title="class in org.apache.hadoop.hbase.security.token">AuthenticationTokenSecretManager</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.194">authTokenSecretMgr</a></pre>
+<pre>protected <a href="../../../../../org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.html" title="class in org.apache.hadoop.hbase.security.token">AuthenticationTokenSecretManager</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.216">authTokenSecretMgr</a></pre>
</li>
</ul>
<a name="errorHandler">
@@ -930,7 +962,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>errorHandler</h4>
-<pre>protected <a href="../../../../../org/apache/hadoop/hbase/ipc/HBaseRPCErrorHandler.html" title="interface in org.apache.hadoop.hbase.ipc">HBaseRPCErrorHandler</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.196">errorHandler</a></pre>
+<pre>protected <a href="../../../../../org/apache/hadoop/hbase/ipc/HBaseRPCErrorHandler.html" title="interface in org.apache.hadoop.hbase.ipc">HBaseRPCErrorHandler</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.218">errorHandler</a></pre>
</li>
</ul>
<a name="MAX_REQUEST_SIZE">
@@ -939,7 +971,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>MAX_REQUEST_SIZE</h4>
-<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.198">MAX_REQUEST_SIZE</a></pre>
+<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.220">MAX_REQUEST_SIZE</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.ipc.RpcServer.MAX_REQUEST_SIZE">Constant Field Values</a></dd>
@@ -952,7 +984,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>REQUEST_TOO_BIG_EXCEPTION</h4>
-<pre>protected static final <a href="../../../../../org/apache/hadoop/hbase/exceptions/RequestTooBigException.html" title="class in org.apache.hadoop.hbase.exceptions">RequestTooBigException</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.199">REQUEST_TOO_BIG_EXCEPTION</a></pre>
+<pre>protected static final <a href="../../../../../org/apache/hadoop/hbase/exceptions/RequestTooBigException.html" title="class in org.apache.hadoop.hbase.exceptions">RequestTooBigException</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.221">REQUEST_TOO_BIG_EXCEPTION</a></pre>
</li>
</ul>
<a name="WARN_RESPONSE_TIME">
@@ -961,7 +993,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>WARN_RESPONSE_TIME</h4>
-<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.202">WARN_RESPONSE_TIME</a></pre>
+<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.224">WARN_RESPONSE_TIME</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.ipc.RpcServer.WARN_RESPONSE_TIME">Constant Field Values</a></dd>
@@ -974,7 +1006,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>WARN_RESPONSE_SIZE</h4>
-<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.203">WARN_RESPONSE_SIZE</a></pre>
+<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.225">WARN_RESPONSE_SIZE</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.ipc.RpcServer.WARN_RESPONSE_SIZE">Constant Field Values</a></dd>
@@ -987,7 +1019,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>MIN_CLIENT_REQUEST_TIMEOUT</h4>
-<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.209">MIN_CLIENT_REQUEST_TIMEOUT</a></pre>
+<pre>protected static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.231">MIN_CLIENT_REQUEST_TIMEOUT</a></pre>
<div class="block">Minimum allowable timeout (in milliseconds) in rpc request's header. This
configuration exists to prevent the rpc service regarding this request as timeout immediately.</div>
<dl>
@@ -1002,7 +1034,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_MIN_CLIENT_REQUEST_TIMEOUT</h4>
-<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.210">DEFAULT_MIN_CLIENT_REQUEST_TIMEOUT</a></pre>
+<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.232">DEFAULT_MIN_CLIENT_REQUEST_TIMEOUT</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.ipc.RpcServer.DEFAULT_MIN_CLIENT_REQUEST_TIMEOUT">Constant Field Values</a></dd>
@@ -1015,7 +1047,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_MAX_REQUEST_SIZE</h4>
-<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.213">DEFAULT_MAX_REQUEST_SIZE</a></pre>
+<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.235">DEFAULT_MAX_REQUEST_SIZE</a></pre>
<div class="block">Default value for above params</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
@@ -1029,7 +1061,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_WARN_RESPONSE_TIME</h4>
-<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.214">DEFAULT_WARN_RESPONSE_TIME</a></pre>
+<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.236">DEFAULT_WARN_RESPONSE_TIME</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.ipc.RpcServer.DEFAULT_WARN_RESPONSE_TIME">Constant Field Values</a></dd>
@@ -1042,7 +1074,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_WARN_RESPONSE_SIZE</h4>
-<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.215">DEFAULT_WARN_RESPONSE_SIZE</a></pre>
+<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.237">DEFAULT_WARN_RESPONSE_SIZE</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.ipc.RpcServer.DEFAULT_WARN_RESPONSE_SIZE">Constant Field Values</a></dd>
@@ -1055,7 +1087,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>MAPPER</h4>
-<pre>protected static final org.codehaus.jackson.map.ObjectMapper <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.217">MAPPER</a></pre>
+<pre>protected static final org.codehaus.jackson.map.ObjectMapper <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.239">MAPPER</a></pre>
</li>
</ul>
<a name="maxRequestSize">
@@ -1064,7 +1096,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>maxRequestSize</h4>
-<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.219">maxRequestSize</a></pre>
+<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.241">maxRequestSize</a></pre>
</li>
</ul>
<a name="warnResponseTime">
@@ -1073,7 +1105,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>warnResponseTime</h4>
-<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.220">warnResponseTime</a></pre>
+<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.242">warnResponseTime</a></pre>
</li>
</ul>
<a name="warnResponseSize">
@@ -1082,7 +1114,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>warnResponseSize</h4>
-<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.221">warnResponseSize</a></pre>
+<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.243">warnResponseSize</a></pre>
</li>
</ul>
<a name="minClientRequestTimeout">
@@ -1091,7 +1123,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>minClientRequestTimeout</h4>
-<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.223">minClientRequestTimeout</a></pre>
+<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.245">minClientRequestTimeout</a></pre>
</li>
</ul>
<a name="server">
@@ -1100,7 +1132,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>server</h4>
-<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.225">server</a></pre>
+<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.247">server</a></pre>
</li>
</ul>
<a name="services">
@@ -1109,7 +1141,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>services</h4>
-<pre>protected final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.BlockingServiceAndInterface.html" title="class in org.apache.hadoop.hbase.ipc">RpcServer.BlockingServiceAndInterface</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.226">services</a></pre>
+<pre>protected final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.BlockingServiceAndInterface.html" title="class in org.apache.hadoop.hbase.ipc">RpcServer.BlockingServiceAndInterface</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.248">services</a></pre>
</li>
</ul>
<a name="scheduler">
@@ -1118,7 +1150,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>scheduler</h4>
-<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.228">scheduler</a></pre>
+<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.250">scheduler</a></pre>
</li>
</ul>
<a name="userProvider">
@@ -1127,7 +1159,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>userProvider</h4>
-<pre>protected <a href="../../../../../org/apache/hadoop/hbase/security/UserProvider.html" title="class in org.apache.hadoop.hbase.security">UserProvider</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.230">userProvider</a></pre>
+<pre>protected <a href="../../../../../org/apache/hadoop/hbase/security/UserProvider.html" title="class in org.apache.hadoop.hbase.security">UserProvider</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.252">userProvider</a></pre>
</li>
</ul>
<a name="reservoir">
@@ -1136,7 +1168,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>reservoir</h4>
-<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/io/ByteBufferPool.html" title="class in org.apache.hadoop.hbase.io">ByteBufferPool</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.232">reservoir</a></pre>
+<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/io/ByteBufferPool.html" title="class in org.apache.hadoop.hbase.io">ByteBufferPool</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.254">reservoir</a></pre>
</li>
</ul>
<a name="minSizeForReservoirUse">
@@ -1145,7 +1177,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>minSizeForReservoirUse</h4>
-<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.236">minSizeForReservoirUse</a></pre>
+<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.258">minSizeForReservoirUse</a></pre>
</li>
</ul>
<a name="allowFallbackToSimpleAuth">
@@ -1154,20 +1186,36 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>allowFallbackToSimpleAuth</h4>
-<pre>protected volatile boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.238">allowFallbackToSimpleAuth</a></pre>
+<pre>protected volatile boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.260">allowFallbackToSimpleAuth</a></pre>
</li>
</ul>
<a name="rsRpcServices">
<!-- -->
</a>
-<ul class="blockListLast">
+<ul class="blockList">
<li class="blockList">
<h4>rsRpcServices</h4>
-<pre>private <a href="../../../../../org/apache/hadoop/hbase/regionserver/RSRpcServices.html" title="class in org.apache.hadoop.hbase.regionserver">RSRpcServices</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.244">rsRpcServices</a></pre>
+<pre>private <a href="../../../../../org/apache/hadoop/hbase/regionserver/RSRpcServices.html" title="class in org.apache.hadoop.hbase.regionserver">RSRpcServices</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.266">rsRpcServices</a></pre>
<div class="block">Used to get details for scan with a scanner_id<br/>
TODO try to figure out a better way and remove reference from regionserver package later.</div>
</li>
</ul>
+<a name="NIO_BUFFER_LIMIT">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>NIO_BUFFER_LIMIT</h4>
+<pre>protected static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1819">NIO_BUFFER_LIMIT</a></pre>
+<div class="block">When the read or write buffer size is larger than this limit, i/o will be
+ done in chunks of this size. Most RPC requests and responses would be
+ be smaller.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.ipc.RpcServer.NIO_BUFFER_LIMIT">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
@@ -1182,7 +1230,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockListLast">
<li class="blockList">
<h4>RpcServer</h4>
-<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.994">RpcServer</a>(<a href="../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> server,
+<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1507">RpcServer</a>(<a href="../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> server,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.BlockingServiceAndInterface.html" title="class in org.apache.hadoop.hbase.ipc">RpcServer.BlockingServiceAndInterface</a>> services,
<a href="http://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a> bindAddress,
@@ -1218,7 +1266,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>getMinSizeForReservoirUse</h4>
-<pre>static int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1056">getMinSizeForReservoirUse</a>(<a href="../../../../../org/apache/hadoop/hbase/io/ByteBufferPool.html" title="class in org.apache.hadoop.hbase.io">ByteBufferPool</a> pool)</pre>
+<pre>static int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1569">getMinSizeForReservoirUse</a>(<a href="../../../../../org/apache/hadoop/hbase/io/ByteBufferPool.html" title="class in org.apache.hadoop.hbase.io">ByteBufferPool</a> pool)</pre>
</li>
</ul>
<a name="onConfigurationChange-org.apache.hadoop.conf.Configuration-">
@@ -1227,7 +1275,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>onConfigurationChange</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1061">onConfigurationChange</a>(org.apache.hadoop.conf.Configuration newConf)</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1574">onConfigurationChange</a>(org.apache.hadoop.conf.Configuration newConf)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/hadoop/hbase/conf/ConfigurationObserver.html#onConfigurationChange-org.apache.hadoop.conf.Configuration-">ConfigurationObserver</a></code></span></div>
<div class="block">This method would be called by the <a href="../../../../../org/apache/hadoop/hbase/conf/ConfigurationManager.html" title="class in org.apache.hadoop.hbase.conf"><code>ConfigurationManager</code></a>
object when the <code>Configuration</code> object is reloaded from disk.</div>
@@ -1243,7 +1291,29 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>initReconfigurable</h4>
-<pre>protected void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1068">initReconfigurable</a>(org.apache.hadoop.conf.Configuration confToLoad)</pre>
+<pre>protected void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1581">initReconfigurable</a>(org.apache.hadoop.conf.Configuration confToLoad)</pre>
+</li>
+</ul>
+<a name="setupResponse-java.io.ByteArrayOutputStream-org.apache.hadoop.hbase.ipc.RpcServer.Call-java.lang.Throwable-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setupResponse</h4>
+<pre>protected void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1603">setupResponse</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/ByteArrayOutputStream.html?is-external=true" title="class or interface in java.io">ByteArrayOutputStream</a> response,
+ <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.Call.html" title="class in org.apache.hadoop.hbase.ipc">RpcServer.Call</a> call,
+ <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t,
+ <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> error)
+ throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Setup response for the RPC Call.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>response</code> - buffer to serialize the response into</dd>
+<dd><code>call</code> - <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.Call.html" title="class in org.apache.hadoop.hbase.ipc"><code>RpcServer.Call</code></a> to which we are setting up the response</dd>
+<dd><code>error</code> - error message, if the call failed</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
</li>
</ul>
<a name="getConf--">
@@ -1252,7 +1322,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>getConf</h4>
-<pre>org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1082">getConf</a>()</pre>
+<pre>org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1609">getConf</a>()</pre>
</li>
</ul>
<a name="isStarted--">
@@ -1261,7 +1331,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>isStarted</h4>
-<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1087">isStarted</a>()</pre>
+<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1614">isStarted</a>()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterface.html#isStarted--">isStarted</a></code> in interface <code><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterface.html" title="interface in org.apache.hadoop.hbase.ipc">RpcServerInterface</a></code></dd>
@@ -1274,7 +1344,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>refreshAuthManager</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1092">refreshAuthManager</a>(org.apache.hadoop.security.authorize.PolicyProvider pp)</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1619">refreshAuthManager</a>(org.apache.hadoop.security.authorize.PolicyProvider pp)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterface.html#refreshAuthManager-org.apache.hadoop.security.authorize.PolicyProvider-">RpcServerInterface</a></code></span></div>
<div class="block">Refresh authentication manager policy.</div>
<dl>
@@ -1289,7 +1359,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>createSecretManager</h4>
-<pre>protected <a href="../../../../../org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.html" title="class in org.apache.hadoop.hbase.security.token">AuthenticationTokenSecretManager</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1098">createSecretManager</a>()</pre>
+<pre>protected <a href="../../../../../org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.html" title="class in org.apache.hadoop.hbase.security.token">AuthenticationTokenSecretManager</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1625">createSecretManager</a>()</pre>
</li>
</ul>
<a name="getSecretManager--">
@@ -1298,7 +1368,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>getSecretManager</h4>
-<pre>public org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1110">getSecretManager</a>()</pre>
+<pre>public org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1637">getSecretManager</a>()</pre>
</li>
</ul>
<a name="setSecretManager-org.apache.hadoop.security.token.SecretManager-">
@@ -1307,7 +1377,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>setSecretManager</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1115">setSecretManager</a>(org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager)</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1642">setSecretManager</a>(org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager)</pre>
</li>
</ul>
<a name="call-org.apache.hadoop.hbase.ipc.RpcCall-org.apache.hadoop.hbase.monitoring.MonitoredRPCHandler-">
@@ -1316,7 +1386,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>call</h4>
-<pre>public <a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><org.apache.hadoop.hbase.shaded.com.google.protobuf.Message,<a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1125">call</a>(<a href="../../../../../org/apache/hadoop/hbase/ipc/RpcCall.html" title="interface in org.apache.hadoop.hbase.ipc">RpcCall</a> call,
+<pre>public <a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><org.apache.hadoop.hbase.shaded.com.google.protobuf.Message,<a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1652">call</a>(<a href="../../../../../org/apache/hadoop/hbase/ipc/RpcCall.html" title="interface in org.apache.hadoop.hbase.ipc">RpcCall</a> call,
<a href="../../../../../org/apache/hadoop/hbase/monitoring/MonitoredRPCHandler.html" title="interface in org.apache.hadoop.hbase.monitoring">MonitoredRPCHandler</a> status)
throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">This is a server side method, which is invoked over RPC. On success
@@ -1336,7 +1406,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>logResponse</h4>
-<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1215">logResponse</a>(org.apache.hadoop.hbase.shaded.com.google.protobuf.Message param,
+<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1742">logResponse</a>(org.apache.hadoop.hbase.shaded.com.google.protobuf.Message param,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> methodName,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> call,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tag,
@@ -1371,7 +1441,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>setErrorHandler</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1247">setErrorHandler</a>(<a href="../../../../../org/apache/hadoop/hbase/ipc/HBaseRPCErrorHandler.html" title="interface in org.apache.hadoop.hbase.ipc">HBaseRPCErrorHandler</a> handler)</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1774">setErrorHandler</a>(<a href="../../../../../org/apache/hadoop/hbase/ipc/HBaseRPCErrorHandler.html" title="interface in org.apache.hadoop.hbase.ipc">HBaseRPCErrorHandler</a> handler)</pre>
<div class="block">Set the handler for calling out of RPC for error conditions.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -1387,7 +1457,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>getErrorHandler</h4>
-<pre>public <a href="../../../../../org/apache/hadoop/hbase/ipc/HBaseRPCErrorHandler.html" title="interface in org.apache.hadoop.hbase.ipc">HBaseRPCErrorHandler</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1252">getErrorHandler</a>()</pre>
+<pre>public <a href="../../../../../org/apache/hadoop/hbase/ipc/HBaseRPCErrorHandler.html" title="interface in org.apache.hadoop.hbase.ipc">HBaseRPCErrorHandler</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1779">getErrorHandler</a>()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterface.html#getErrorHandler--">getErrorHandler</a></code> in interface <code><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterface.html" title="interface in org.apache.hadoop.hbase.ipc">RpcServerInterface</a></code></dd>
@@ -1400,7 +1470,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>getMetrics</h4>
-<pre>public <a href="../../../../../org/apache/hadoop/hbase/ipc/MetricsHBaseServer.html" title="class in org.apache.hadoop.hbase.ipc">MetricsHBaseServer</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1260">getMetrics</a>()</pre>
+<pre>public <a href="../../../../../org/apache/hadoop/hbase/ipc/MetricsHBaseServer.html" title="class in org.apache.hadoop.hbase.ipc">MetricsHBaseServer</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1787">getMetrics</a>()</pre>
<div class="block">Returns the metrics instance for reporting RPC call statistics</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -1414,7 +1484,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>addCallSize</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1265">addCallSize</a>(long diff)</pre>
+<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1792">addCallSize</a>(long diff)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterface.html#addCallSize-long-">RpcServerInterface</a></code></span></div>
<div class="block">Add/subtract from the current size of all outstanding calls. Called on setup of a call to add
call total size and then again at end of a call to remove the call size.</div>
@@ -1432,7 +1502,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
<ul class="blockList">
<li class="blockList">
<h4>authorize</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1278">authorize</a>(org.apache.hadoop.security.UserGroupInformation user,
+<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1805">authorize</a>(org.apache.hadoop.security.UserGroupInformation user,
org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.ConnectionHeader connection,
<a href="http://docs.oracle.com/javase/8/docs/api/java/net/InetAddress.html?is-external=true" title="class or interface in java.net">InetAddress</a> addr)
throws org.apache.hadoop.security.authorize.AuthorizationException</pre>
@@ -1447,13 +1517,67 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServerInterfac
</dl>
</li>
</ul>
+<a name="channelRead-java.nio.channels.ReadableByteChannel-java.nio.ByteBuffer-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>channelRead</h4>
+<pre>protected int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1833">channelRead</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ReadableByteChannel</a> channel,
+ <a href="http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> buffer)
+ throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">This is a wrapper around <a href="http://docs.oracle.com/javase/8/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true#read-java.nio.ByteBuffer-" title="class or interface in java.nio.channels"><code>ReadableByteChannel.read(java.nio.ByteBuffer)</code></a>.
+ If the amount of data is large, it writes to channel in smaller chunks.
+ This is to avoid jdk from creating many direct buffers as the size of
+ ByteBuffer increases. There should not be any performance degredation.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>channel</code> - writable byte channel to write on</dd>
+<dd><code>buffer</code> - buffer to write</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>number of bytes written</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - e</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="http://docs.oracle.com/javase/8/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true#read-java.nio.ByteBuffer-" title="class or interface in java.nio.channels"><code>ReadableByteChannel.read(java.nio.ByteBuffer)</code></a></dd>
+</dl>
+</li>
+</ul>
+<a name="channelIO-java.nio.channels.ReadableByteChannel-java.nio.channels.WritableByteChannel-java.nio.ByteBuffer-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>channelIO</h4>
+<pre>private static int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcServer.html#line.1857">channelIO</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ReadableByteChannel</a> readCh,
+ <a href="http://docs.oracle.com/javase/8/docs/api/java/nio/channels/WritableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">WritableByteChannel</a> writeCh,
+ <a href="http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> buf)
+ throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Helper for <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#channelRead-java.nio.channels.ReadableByteChannel-java.nio.ByteBuffer-"><code>channelRead(java.nio.channels.ReadableByteChannel, java.nio.ByteBuffer)</code></a>
+ and <code>#channelWrite(GatheringByteChannel, BufferChain)</code>. Only
+ one of readCh or writeCh should be non-null.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>readCh</code> - read channel</dd>
+<dd><code>writeCh</code> - write channel</dd>
+<dd><code>buf</code> - buffer to read or write into/out of</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>bytes written</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - e</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcServer.html#channelRead-java.nio.channels.ReadableByteChannel-java.nio.ByteBuffer-"><code>channelRead(java.nio.channels.ReadableByteChannel, java.nio.ByteBuffer)</code></a>,
+<code>#channelWrite(GatheringByteChannel, BufferChain)</code></dd>
+</dl>
+</li>
+</ul>
<a name="allocateByteBuffToReadInto-org.apache.hadoop.hbase.io.ByteBufferPool-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocateByteBuffToReadInto</h4>
-<pre>static <a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="../../../../../org/apache/hadoop/hbase/nio/ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>,<a href="../../../../../org/apache/
<TRUNCATED>