http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html b/devapidocs/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html index 6409c4d..e4b8d27 100644 --- a/devapidocs/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html +++ b/devapidocs/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html @@ -104,7 +104,7 @@ <hr> <br> <pre><a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a> -public abstract class <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.52">AbstractRpcClient</a> +public abstract class <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.56">AbstractRpcClient</a> extends <a href="http://docs.oracle.com/javase/7/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/RpcClient.html" title="interface in org.apache.hadoop.hbase.ipc">RpcClient</a></pre> <div class="block">Provides the basics for a RpcClient implementation like configuration and Logging.</div> @@ -328,6 +328,14 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t otherwise default to the former.</div> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#wrapException(java.net.InetSocketAddress,%20java.lang.Exception)">wrapException</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a> addr, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> exception)</code> +<div class="block">Takes an Exception and the address we were trying to connect to and return an IOException with + the input exception as the cause.</div> +</td> +</tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> @@ -363,7 +371,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <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/AbstractRpcClient.html#line.54">LOG</a></pre> +<pre>public static final org.apache.commons.logging.Log <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.58">LOG</a></pre> </li> </ul> <a name="conf"> @@ -372,7 +380,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <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/AbstractRpcClient.html#line.56">conf</a></pre> +<pre>protected final org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.60">conf</a></pre> </li> </ul> <a name="clusterId"> @@ -381,7 +389,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>clusterId</h4> -<pre>protected <a href="http://docs.oracle.com/javase/7/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/AbstractRpcClient.html#line.57">clusterId</a></pre> +<pre>protected <a href="http://docs.oracle.com/javase/7/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/AbstractRpcClient.html#line.61">clusterId</a></pre> </li> </ul> <a name="localAddr"> @@ -390,7 +398,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>localAddr</h4> -<pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.58">localAddr</a></pre> +<pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.62">localAddr</a></pre> </li> </ul> <a name="metrics"> @@ -399,7 +407,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>metrics</h4> -<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/client/MetricsConnection.html" title="class in org.apache.hadoop.hbase.client">MetricsConnection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.59">metrics</a></pre> +<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/client/MetricsConnection.html" title="class in org.apache.hadoop.hbase.client">MetricsConnection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.63">metrics</a></pre> </li> </ul> <a name="userProvider"> @@ -408,7 +416,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <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/AbstractRpcClient.html#line.61">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/AbstractRpcClient.html#line.65">userProvider</a></pre> </li> </ul> <a name="ipcUtil"> @@ -417,7 +425,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>ipcUtil</h4> -<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/ipc/IPCUtil.html" title="class in org.apache.hadoop.hbase.ipc">IPCUtil</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.62">ipcUtil</a></pre> +<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/ipc/IPCUtil.html" title="class in org.apache.hadoop.hbase.ipc">IPCUtil</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.66">ipcUtil</a></pre> </li> </ul> <a name="minIdleTimeBeforeClose"> @@ -426,7 +434,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>minIdleTimeBeforeClose</h4> -<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.64">minIdleTimeBeforeClose</a></pre> +<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.68">minIdleTimeBeforeClose</a></pre> </li> </ul> <a name="maxRetries"> @@ -435,7 +443,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>maxRetries</h4> -<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.66">maxRetries</a></pre> +<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.70">maxRetries</a></pre> </li> </ul> <a name="failureSleep"> @@ -444,7 +452,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>failureSleep</h4> -<pre>protected final long <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.67">failureSleep</a></pre> +<pre>protected final long <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.71">failureSleep</a></pre> </li> </ul> <a name="tcpNoDelay"> @@ -453,7 +461,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>tcpNoDelay</h4> -<pre>protected final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.68">tcpNoDelay</a></pre> +<pre>protected final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.72">tcpNoDelay</a></pre> </li> </ul> <a name="tcpKeepAlive"> @@ -462,7 +470,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>tcpKeepAlive</h4> -<pre>protected final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.69">tcpKeepAlive</a></pre> +<pre>protected final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.73">tcpKeepAlive</a></pre> </li> </ul> <a name="codec"> @@ -471,7 +479,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>codec</h4> -<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/codec/Codec.html" title="interface in org.apache.hadoop.hbase.codec">Codec</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.70">codec</a></pre> +<pre>protected final <a href="../../../../../org/apache/hadoop/hbase/codec/Codec.html" title="interface in org.apache.hadoop.hbase.codec">Codec</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.74">codec</a></pre> </li> </ul> <a name="compressor"> @@ -480,7 +488,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>compressor</h4> -<pre>protected final org.apache.hadoop.io.compress.CompressionCodec <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.71">compressor</a></pre> +<pre>protected final org.apache.hadoop.io.compress.CompressionCodec <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.75">compressor</a></pre> </li> </ul> <a name="fallbackAllowed"> @@ -489,7 +497,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>fallbackAllowed</h4> -<pre>protected final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.72">fallbackAllowed</a></pre> +<pre>protected final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.76">fallbackAllowed</a></pre> </li> </ul> <a name="connectTO"> @@ -498,7 +506,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>connectTO</h4> -<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.74">connectTO</a></pre> +<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.78">connectTO</a></pre> </li> </ul> <a name="readTO"> @@ -507,7 +515,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>readTO</h4> -<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.75">readTO</a></pre> +<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.79">readTO</a></pre> </li> </ul> <a name="writeTO"> @@ -516,7 +524,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockListLast"> <li class="blockList"> <h4>writeTO</h4> -<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.76">writeTO</a></pre> +<pre>protected final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.80">writeTO</a></pre> </li> </ul> </li> @@ -533,7 +541,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockListLast"> <li class="blockList"> <h4>AbstractRpcClient</h4> -<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.86">AbstractRpcClient</a>(org.apache.hadoop.conf.Configuration conf, +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.90">AbstractRpcClient</a>(org.apache.hadoop.conf.Configuration conf, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> clusterId, <a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</a> localAddr, <a href="../../../../../org/apache/hadoop/hbase/client/MetricsConnection.html" title="class in org.apache.hadoop.hbase.client">MetricsConnection</a> metrics)</pre> @@ -555,7 +563,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>getDefaultCodec</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/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/AbstractRpcClient.html#line.125">getDefaultCodec</a>(org.apache.hadoop.conf.Configuration c)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/7/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/AbstractRpcClient.html#line.129">getDefaultCodec</a>(org.apache.hadoop.conf.Configuration c)</pre> </li> </ul> <a name="getCodec()"> @@ -564,7 +572,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>getCodec</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/codec/Codec.html" title="interface in org.apache.hadoop.hbase.codec">Codec</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.136">getCodec</a>()</pre> +<pre><a href="../../../../../org/apache/hadoop/hbase/codec/Codec.html" title="interface in org.apache.hadoop.hbase.codec">Codec</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.140">getCodec</a>()</pre> <div class="block">Encapsulate the ugly casting and RuntimeException conversion in private method.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>Codec to use on this client.</dd></dl> </li> @@ -575,7 +583,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>getCompressor</h4> -<pre>private static org.apache.hadoop.io.compress.CompressionCodec <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.153">getCompressor</a>(org.apache.hadoop.conf.Configuration conf)</pre> +<pre>private static org.apache.hadoop.io.compress.CompressionCodec <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.157">getCompressor</a>(org.apache.hadoop.conf.Configuration conf)</pre> <div class="block">Encapsulate the ugly casting and RuntimeException conversion in private method.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>conf</code> - configuration</dd> <dt><span class="strong">Returns:</span></dt><dd>The compressor to use on this client.</dd></dl> @@ -587,7 +595,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>getPoolType</h4> -<pre>protected static <a href="../../../../../org/apache/hadoop/hbase/util/PoolMap.PoolType.html" title="enum in org.apache.hadoop.hbase.util">PoolMap.PoolType</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.179">getPoolType</a>(org.apache.hadoop.conf.Configuration config)</pre> +<pre>protected static <a href="../../../../../org/apache/hadoop/hbase/util/PoolMap.PoolType.html" title="enum in org.apache.hadoop.hbase.util">PoolMap.PoolType</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.183">getPoolType</a>(org.apache.hadoop.conf.Configuration config)</pre> <div class="block">Return the pool type specified in the configuration, which must be set to either <a href="../../../../../org/apache/hadoop/hbase/util/PoolMap.PoolType.html#RoundRobin"><code>PoolMap.PoolType.RoundRobin</code></a> or <a href="../../../../../org/apache/hadoop/hbase/util/PoolMap.PoolType.html#ThreadLocal"><code>PoolMap.PoolType.ThreadLocal</code></a>, @@ -609,7 +617,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>getPoolSize</h4> -<pre>protected static int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.192">getPoolSize</a>(org.apache.hadoop.conf.Configuration config)</pre> +<pre>protected static int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.196">getPoolSize</a>(org.apache.hadoop.conf.Configuration config)</pre> <div class="block">Return the pool size specified in the configuration, which is applicable only if the pool type is <a href="../../../../../org/apache/hadoop/hbase/util/PoolMap.PoolType.html#RoundRobin"><code>PoolMap.PoolType.RoundRobin</code></a>.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>config</code> - configuration</dd> @@ -622,7 +630,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>callBlockingMethod</h4> -<pre>com.google.protobuf.Message <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.206">callBlockingMethod</a>(com.google.protobuf.Descriptors.MethodDescriptor md, +<pre>com.google.protobuf.Message <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.210">callBlockingMethod</a>(com.google.protobuf.Descriptors.MethodDescriptor md, <a href="../../../../../org/apache/hadoop/hbase/ipc/PayloadCarryingRpcController.html" title="class in org.apache.hadoop.hbase.ipc">PayloadCarryingRpcController</a> pcrc, com.google.protobuf.Message param, com.google.protobuf.Message returnType, @@ -646,7 +654,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <ul class="blockList"> <li class="blockList"> <h4>call</h4> -<pre>protected abstract <a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><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/AbstractRpcClient.html#line.249">call</a>(<a href="../../../../../org/apache/hadoop/hbase/ipc/PayloadCarryingRpcController.html" title="class in org.apache.hadoop.hbase.ipc">PayloadCarryingRpcController</a> pcrc, +<pre>protected abstract <a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><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/AbstractRpcClient.html#line.253">call</a>(<a href="../../../../../org/apache/hadoop/hbase/ipc/PayloadCarryingRpcController.html" title="class in org.apache.hadoop.hbase.ipc">PayloadCarryingRpcController</a> pcrc, com.google.protobuf.Descriptors.MethodDescriptor md, com.google.protobuf.Message param, com.google.protobuf.Message returnType, @@ -673,10 +681,10 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <a name="createBlockingRpcChannel(org.apache.hadoop.hbase.ServerName, org.apache.hadoop.hbase.security.User, int)"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>createBlockingRpcChannel</h4> -<pre>public com.google.protobuf.BlockingRpcChannel <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.255">createBlockingRpcChannel</a>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, +<pre>public com.google.protobuf.BlockingRpcChannel <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.259">createBlockingRpcChannel</a>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> ticket, int defaultOperationTimeout)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html#createBlockingRpcChannel(org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.security.User,%20int)">RpcClient</a></code></strong></div> @@ -689,6 +697,23 @@ implements <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html" t <dt><span class="strong">Returns:</span></dt><dd>A blocking rpc channel that goes via this rpc client instance.</dd></dl> </li> </ul> +<a name="wrapException(java.net.InetSocketAddress, java.lang.Exception)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>wrapException</h4> +<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#line.274">wrapException</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a> addr, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> exception)</pre> +<div class="block">Takes an Exception and the address we were trying to connect to and return an IOException with + the input exception as the cause. The new exception provides the stack trace of the place where + the exception is thrown and some extra diagnostics information. If the exception is + ConnectException or SocketTimeoutException, return a new one of the same type; Otherwise return + an IOException.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>addr</code> - target address</dd><dd><code>exception</code> - the relevant exception</dd> +<dt><span class="strong">Returns:</span></dt><dd>an exception to throw</dd></dl> +</li> +</ul> </li> </ul> </li>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html b/devapidocs/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html index 16f1f2a..eb92a60 100644 --- a/devapidocs/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html +++ b/devapidocs/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html @@ -103,7 +103,7 @@ </dl> <hr> <br> -<pre>public static class <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.464">AsyncRpcClient.RpcChannelImplementation</a> +<pre>public static class <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.465">AsyncRpcClient.RpcChannelImplementation</a> extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> implements com.google.protobuf.RpcChannel</pre> <div class="block">Blocking rpc channel that goes via hbase rpc.</div> @@ -214,7 +214,7 @@ implements com.google.protobuf.RpcChannel</pre> <ul class="blockList"> <li class="blockList"> <h4>isa</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/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/AsyncRpcClient.RpcChannelImplementation.html#line.465">isa</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/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/AsyncRpcClient.RpcChannelImplementation.html#line.466">isa</a></pre> </li> </ul> <a name="rpcClient"> @@ -223,7 +223,7 @@ implements com.google.protobuf.RpcChannel</pre> <ul class="blockList"> <li class="blockList"> <h4>rpcClient</h4> -<pre>private final <a href="../../../../../org/apache/hadoop/hbase/ipc/AsyncRpcClient.html" title="class in org.apache.hadoop.hbase.ipc">AsyncRpcClient</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html#line.466">rpcClient</a></pre> +<pre>private final <a href="../../../../../org/apache/hadoop/hbase/ipc/AsyncRpcClient.html" title="class in org.apache.hadoop.hbase.ipc">AsyncRpcClient</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html#line.467">rpcClient</a></pre> </li> </ul> <a name="ticket"> @@ -232,7 +232,7 @@ implements com.google.protobuf.RpcChannel</pre> <ul class="blockList"> <li class="blockList"> <h4>ticket</h4> -<pre>private final <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html#line.467">ticket</a></pre> +<pre>private final <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html#line.468">ticket</a></pre> </li> </ul> <a name="channelOperationTimeout"> @@ -241,7 +241,7 @@ implements com.google.protobuf.RpcChannel</pre> <ul class="blockListLast"> <li class="blockList"> <h4>channelOperationTimeout</h4> -<pre>private final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html#line.468">channelOperationTimeout</a></pre> +<pre>private final int <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html#line.469">channelOperationTimeout</a></pre> </li> </ul> </li> @@ -258,7 +258,7 @@ implements com.google.protobuf.RpcChannel</pre> <ul class="blockListLast"> <li class="blockList"> <h4>AsyncRpcClient.RpcChannelImplementation</h4> -<pre>protected <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html#line.473">AsyncRpcClient.RpcChannelImplementation</a>(<a href="../../../../../org/apache/hadoop/hbase/ipc/AsyncRpcClient.html" title="class in org.apache.hadoop.hbase.ipc">AsyncRpcClient</a> rpcClient, +<pre>protected <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html#line.474">AsyncRpcClient.RpcChannelImplementation</a>(<a href="../../../../../org/apache/hadoop/hbase/ipc/AsyncRpcClient.html" title="class in org.apache.hadoop.hbase.ipc">AsyncRpcClient</a> rpcClient, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> ticket, int channelOperationTimeout)</pre> @@ -279,7 +279,7 @@ implements com.google.protobuf.RpcChannel</pre> <ul class="blockListLast"> <li class="blockList"> <h4>callMethod</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html#line.482">callMethod</a>(com.google.protobuf.Descriptors.MethodDescriptor md, +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.RpcChannelImplementation.html#line.483">callMethod</a>(com.google.protobuf.Descriptors.MethodDescriptor md, com.google.protobuf.RpcController controller, com.google.protobuf.Message param, com.google.protobuf.Message returnType, http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html b/devapidocs/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html index 163c18a..7d0d1a1 100644 --- a/devapidocs/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html +++ b/devapidocs/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html @@ -374,7 +374,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <!-- --> </a> <h3>Methods inherited from class org.apache.hadoop.hbase.ipc.<a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html" title="class in org.apache.hadoop.hbase.ipc">AbstractRpcClient</a></h3> -<code><a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#callBlockingMethod(com.google.protobuf.Descriptors.MethodDescriptor,%20org.apache.hadoop.hbase.ipc.PayloadCarryingRpcController,%20com.google.protobuf.Message,%20com.google.protobuf.Message,%20org.apache.hadoop.hbase.security.User,%20java.net.InetSocketAddress)">callBlockingMethod</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#createBlockingRpcChannel(org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.security.User,%20int)">createBlockingRpcChannel</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getCodec()">getCodec</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getDefaultCodec(org.apache.hadoop.conf.Configuration)">getDefaultCodec</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getPoolSize(org.apache.hadoop.conf.Configuration)">getPoolSize</a>, <a href="../../../. ./../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getPoolType(org.apache.hadoop.conf.Configuration)">getPoolType</a></code></li> +<code><a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#callBlockingMethod(com.google.protobuf.Descriptors.MethodDescriptor,%20org.apache.hadoop.hbase.ipc.PayloadCarryingRpcController,%20com.google.protobuf.Message,%20com.google.protobuf.Message,%20org.apache.hadoop.hbase.security.User,%20java.net.InetSocketAddress)">callBlockingMethod</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#createBlockingRpcChannel(org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.security.User,%20int)">createBlockingRpcChannel</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getCodec()">getCodec</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getDefaultCodec(org.apache.hadoop.conf.Configuration)">getDefaultCodec</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getPoolSize(org.apache.hadoop.conf.Configuration)">getPoolSize</a>, <a href="../../../. ./../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getPoolType(org.apache.hadoop.conf.Configuration)">getPoolType</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#wrapException(java.net.InetSocketAddress,%20java.lang.Exception)">wrapException</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> @@ -514,7 +514,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <ul class="blockListLast"> <li class="blockList"> <h4>closed</h4> -<pre>private boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.312">closed</a></pre> +<pre>private boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.313">closed</a></pre> </li> </ul> </li> @@ -639,7 +639,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <ul class="blockList"> <li class="blockList"> <h4>callMethod</h4> -<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.264">callMethod</a>(com.google.protobuf.Descriptors.MethodDescriptor md, +<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.265">callMethod</a>(com.google.protobuf.Descriptors.MethodDescriptor md, <a href="../../../../../org/apache/hadoop/hbase/ipc/PayloadCarryingRpcController.html" title="class in org.apache.hadoop.hbase.ipc">PayloadCarryingRpcController</a> pcrc, com.google.protobuf.Message param, com.google.protobuf.Message returnType, @@ -655,7 +655,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <ul class="blockList"> <li class="blockList"> <h4>close</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.317">close</a>()</pre> +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.318">close</a>()</pre> <div class="block">Close netty</div> </li> </ul> @@ -665,7 +665,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <ul class="blockList"> <li class="blockList"> <h4>createCellScanner</h4> -<pre>public <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/AsyncRpcClient.html#line.344">createCellScanner</a>(byte[] cellBlock) +<pre>public <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/AsyncRpcClient.html#line.345">createCellScanner</a>(byte[] cellBlock) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Create a cell scanner</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cellBlock</code> - to create scanner for</dd> @@ -680,7 +680,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <ul class="blockList"> <li class="blockList"> <h4>buildCellBlock</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.355">buildCellBlock</a>(<a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> cells) +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.356">buildCellBlock</a>(<a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> cells) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Build cell block</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cells</code> - to create block with</dd> @@ -695,7 +695,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <ul class="blockList"> <li class="blockList"> <h4>createRpcChannel</h4> -<pre>private <a href="../../../../../org/apache/hadoop/hbase/ipc/AsyncRpcChannel.html" title="class in org.apache.hadoop.hbase.ipc">AsyncRpcChannel</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.369">createRpcChannel</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> serviceName, +<pre>private <a href="../../../../../org/apache/hadoop/hbase/ipc/AsyncRpcChannel.html" title="class in org.apache.hadoop.hbase.ipc">AsyncRpcChannel</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.370">createRpcChannel</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> serviceName, <a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a> location, <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> ticket) throws <a href="../../../../../org/apache/hadoop/hbase/ipc/StoppedRpcClientException.html" title="class in org.apache.hadoop.hbase.ipc">StoppedRpcClientException</a>, @@ -714,7 +714,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <ul class="blockList"> <li class="blockList"> <h4>cancelConnections</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.413">cancelConnections</a>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</pre> +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.414">cancelConnections</a>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</pre> <div class="block">Interrupt the connections to the given ip:port server. This should be called if the server is known as actually dead. This will not prevent current operation to be retried, and, depending on their own behavior, they may retry on the same server. This can be a feature, @@ -730,7 +730,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <ul class="blockList"> <li class="blockList"> <h4>removeConnection</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.430">removeConnection</a>(<a href="../../../../../org/apache/hadoop/hbase/ipc/AsyncRpcChannel.html" title="class in org.apache.hadoop.hbase.ipc">AsyncRpcChannel</a> connection)</pre> +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.431">removeConnection</a>(<a href="../../../../../org/apache/hadoop/hbase/ipc/AsyncRpcChannel.html" title="class in org.apache.hadoop.hbase.ipc">AsyncRpcChannel</a> connection)</pre> <div class="block">Remove connection from pool</div> </li> </ul> @@ -740,7 +740,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <ul class="blockList"> <li class="blockList"> <h4>createRpcChannel</h4> -<pre>public com.google.protobuf.RpcChannel <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.456">createRpcChannel</a>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, +<pre>public com.google.protobuf.RpcChannel <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.457">createRpcChannel</a>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> user, int rpcTimeout)</pre> <div class="block">Creates a "channel" that can be used by a protobuf service. Useful setting up @@ -755,7 +755,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <ul class="blockListLast"> <li class="blockList"> <h4>newTimeout</h4> -<pre>io.netty.util.Timeout <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.499">newTimeout</a>(io.netty.util.TimerTask task, +<pre>io.netty.util.Timeout <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/AsyncRpcClient.html#line.500">newTimeout</a>(io.netty.util.TimerTask task, long delay, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre> </li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/org/apache/hadoop/hbase/ipc/RpcClientImpl.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/ipc/RpcClientImpl.html b/devapidocs/org/apache/hadoop/hbase/ipc/RpcClientImpl.html index afc0280..4b6e1e6 100644 --- a/devapidocs/org/apache/hadoop/hbase/ipc/RpcClientImpl.html +++ b/devapidocs/org/apache/hadoop/hbase/ipc/RpcClientImpl.html @@ -307,21 +307,13 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht pool.</div> </td> </tr> -<tr class="rowColor"> -<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClientImpl.html#wrapException(java.net.InetSocketAddress,%20java.io.IOException)">wrapException</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a> addr, - <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a> exception)</code> -<div class="block">Take an IOException and the address we were trying to connect to - and return an IOException with the input exception as the cause.</div> -</td> -</tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_org.apache.hadoop.hbase.ipc.AbstractRpcClient"> <!-- --> </a> <h3>Methods inherited from class org.apache.hadoop.hbase.ipc.<a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html" title="class in org.apache.hadoop.hbase.ipc">AbstractRpcClient</a></h3> -<code><a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#callBlockingMethod(com.google.protobuf.Descriptors.MethodDescriptor,%20org.apache.hadoop.hbase.ipc.PayloadCarryingRpcController,%20com.google.protobuf.Message,%20com.google.protobuf.Message,%20org.apache.hadoop.hbase.security.User,%20java.net.InetSocketAddress)">callBlockingMethod</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#createBlockingRpcChannel(org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.security.User,%20int)">createBlockingRpcChannel</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getCodec()">getCodec</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getDefaultCodec(org.apache.hadoop.conf.Configuration)">getDefaultCodec</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getPoolSize(org.apache.hadoop.conf.Configuration)">getPoolSize</a>, <a href="../../../. ./../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getPoolType(org.apache.hadoop.conf.Configuration)">getPoolType</a></code></li> +<code><a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#callBlockingMethod(com.google.protobuf.Descriptors.MethodDescriptor,%20org.apache.hadoop.hbase.ipc.PayloadCarryingRpcController,%20com.google.protobuf.Message,%20com.google.protobuf.Message,%20org.apache.hadoop.hbase.security.User,%20java.net.InetSocketAddress)">callBlockingMethod</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#createBlockingRpcChannel(org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.security.User,%20int)">createBlockingRpcChannel</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getCodec()">getCodec</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getDefaultCodec(org.apache.hadoop.conf.Configuration)">getDefaultCodec</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getPoolSize(org.apache.hadoop.conf.Configuration)">getPoolSize</a>, <a href="../../../. ./../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#getPoolType(org.apache.hadoop.conf.Configuration)">getPoolType</a>, <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.html#wrapException(java.net.InetSocketAddress,%20java.lang.Exception)">wrapException</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> @@ -539,31 +531,13 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <dd><code><a href="http://docs.oracle.com/javase/7/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="wrapException(java.net.InetSocketAddress, java.io.IOException)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>wrapException</h4> -<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcClientImpl.html#line.1281">wrapException</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a> addr, - <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a> exception)</pre> -<div class="block">Take an IOException and the address we were trying to connect to - and return an IOException with the input exception as the cause. - The new exception provides the stack trace of the place where - the exception is thrown and some extra diagnostics information. - If the exception is ConnectException or SocketTimeoutException, - return a new one of the same type; Otherwise return an IOException.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>addr</code> - target address</dd><dd><code>exception</code> - the relevant exception</dd> -<dt><span class="strong">Returns:</span></dt><dd>an exception to throw</dd></dl> -</li> -</ul> <a name="cancelConnections(org.apache.hadoop.hbase.ServerName)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>cancelConnections</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcClientImpl.html#line.1308">cancelConnections</a>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</pre> +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcClientImpl.html#line.1278">cancelConnections</a>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</pre> <div class="block">Interrupt the connections to the given ip:port server. This should be called if the server is known as actually dead. This will not prevent current operation to be retried, and, depending on their own behavior, they may retry on the same server. This can be a feature, @@ -579,7 +553,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/ipc/AbstractRpcClient.ht <ul class="blockListLast"> <li class="blockList"> <h4>getConnection</h4> -<pre>protected <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClientImpl.Connection.html" title="class in org.apache.hadoop.hbase.ipc">RpcClientImpl.Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcClientImpl.html#line.1327">getConnection</a>(<a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> ticket, +<pre>protected <a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClientImpl.Connection.html" title="class in org.apache.hadoop.hbase.ipc">RpcClientImpl.Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcClientImpl.html#line.1297">getConnection</a>(<a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> ticket, <a href="../../../../../org/apache/hadoop/hbase/ipc/Call.html" title="class in org.apache.hadoop.hbase.ipc">Call</a> call, <a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a> addr) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html b/devapidocs/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html index a8334a3..bafd53d 100644 --- a/devapidocs/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html +++ b/devapidocs/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html @@ -964,7 +964,7 @@ implements org.apache.hadoop.util.Tool</pre> <ul class="blockList"> <li class="blockList"> <h4>shouldCopyHFileMetaKey</h4> -<pre>private static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html#line.930">shouldCopyHFileMetaKey</a>(byte[] key)</pre> +<pre>private static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html#line.931">shouldCopyHFileMetaKey</a>(byte[] key)</pre> </li> </ul> <a name="inferBoundaries(java.util.TreeMap)"> @@ -973,7 +973,7 @@ implements org.apache.hadoop.util.Tool</pre> <ul class="blockList"> <li class="blockList"> <h4>inferBoundaries</h4> -<pre>public static byte[][] <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html#line.947">inferBoundaries</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</a><byte[],<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> bdryMap)</pre> +<pre>public static byte[][] <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html#line.948">inferBoundaries</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</a><byte[],<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> bdryMap)</pre> </li> </ul> <a name="createTable(org.apache.hadoop.hbase.TableName, java.lang.String, org.apache.hadoop.hbase.client.Admin)"> @@ -982,7 +982,7 @@ implements org.apache.hadoop.util.Tool</pre> <ul class="blockList"> <li class="blockList"> <h4>createTable</h4> -<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html#line.969">createTable</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, +<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html#line.970">createTable</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> dirPath, <a href="../../../../../org/apache/hadoop/hbase/client/Admin.html" title="interface in org.apache.hadoop.hbase.client">Admin</a> admin) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> @@ -996,7 +996,7 @@ implements org.apache.hadoop.util.Tool</pre> <ul class="blockList"> <li class="blockList"> <h4>run</h4> -<pre>public int <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html#line.1023">run</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] args) +<pre>public int <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html#line.1024">run</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] args) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><strong>Specified by:</strong></dt> @@ -1011,7 +1011,7 @@ implements org.apache.hadoop.util.Tool</pre> <ul class="blockList"> <li class="blockList"> <h4>main</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html#line.1057">main</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] args) +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html#line.1058">main</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] args) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl><dt><span class="strong">Throws:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl> @@ -1023,7 +1023,7 @@ implements org.apache.hadoop.util.Tool</pre> <ul class="blockListLast"> <li class="blockList"> <h4>setBulkToken</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html#line.1072">setBulkToken</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> stagingDir)</pre> +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html#line.1073">setBulkToken</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> stagingDir)</pre> <div class="block">Called from replication sink, where it manages bulkToken(staging directory) by itself. This is used only when <a href="../../../../../org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.html" title="class in org.apache.hadoop.hbase.security.access"><code>SecureBulkLoadEndpoint</code></a> is configured in hbase.coprocessor.region.classes property. This directory is used as a temporary directory where all files are initially http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html b/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html index cc11b08..150a0ca 100644 --- a/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html @@ -267,10 +267,10 @@ <ul> <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="strong">Enum</span></a><E> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>) <ul> -<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/RowCounter.RowCounterMapper.Counters.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="strong">RowCounter.RowCounterMapper.Counters</span></a></li> +<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/CellCounter.CellCounterMapper.Counters.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="strong">CellCounter.CellCounterMapper.Counters</span></a></li> <li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/SyncTable.SyncMapper.Counter.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="strong">SyncTable.SyncMapper.Counter</span></a></li> <li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/TableSplit.Version.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="strong">TableSplit.Version</span></a></li> -<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/CellCounter.CellCounterMapper.Counters.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="strong">CellCounter.CellCounterMapper.Counters</span></a></li> +<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/RowCounter.RowCounterMapper.Counters.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="strong">RowCounter.RowCounterMapper.Counters</span></a></li> </ul> </li> </ul> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/org/apache/hadoop/hbase/master/balancer/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/balancer/package-tree.html b/devapidocs/org/apache/hadoop/hbase/master/balancer/package-tree.html index 5ad84b8..5cc7ec2 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/balancer/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/master/balancer/package-tree.html @@ -176,8 +176,8 @@ <ul> <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="strong">Enum</span></a><E> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>) <ul> -<li type="circle">org.apache.hadoop.hbase.master.balancer.<a href="../../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodesPlan.Position.html" title="enum in org.apache.hadoop.hbase.master.balancer"><span class="strong">FavoredNodesPlan.Position</span></a></li> <li type="circle">org.apache.hadoop.hbase.master.balancer.<a href="../../../../../../org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.Action.Type.html" title="enum in org.apache.hadoop.hbase.master.balancer"><span class="strong">BaseLoadBalancer.Cluster.Action.Type</span></a></li> +<li type="circle">org.apache.hadoop.hbase.master.balancer.<a href="../../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodesPlan.Position.html" title="enum in org.apache.hadoop.hbase.master.balancer"><span class="strong">FavoredNodesPlan.Position</span></a></li> </ul> </li> </ul> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html b/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html index bf2ccda..b50f8b5 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html +++ b/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html @@ -100,7 +100,7 @@ <hr> <br> <pre><a href="../../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a> -public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.54">SimpleRegionNormalizer</a> +public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.57">SimpleRegionNormalizer</a> extends <a href="http://docs.oracle.com/javase/7/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/master/normalizer/RegionNormalizer.html" title="interface in org.apache.hadoop.hbase.master.normalizer">RegionNormalizer</a></pre> <div class="block">Simple implementation of region normalizer. @@ -150,6 +150,10 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <td class="colFirst"><code>private static int</code></td> <td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#MIN_REGION_COUNT">MIN_REGION_COUNT</a></strong></code> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><<a href="../../../../../../org/apache/hadoop/hbase/util/Triple.html" title="class in org.apache.hadoop.hbase.util">Triple</a><<a href="../../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#regionSizeComparator">regionSizeComparator</a></strong></code> </td> +</tr> </table> </li> </ul> @@ -226,7 +230,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <ul class="blockList"> <li class="blockList"> <h4>LOG</h4> -<pre>private static final org.apache.commons.logging.Log <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.56">LOG</a></pre> +<pre>private static final org.apache.commons.logging.Log <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.59">LOG</a></pre> </li> </ul> <a name="MIN_REGION_COUNT"> @@ -235,17 +239,26 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <ul class="blockList"> <li class="blockList"> <h4>MIN_REGION_COUNT</h4> -<pre>private static final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.57">MIN_REGION_COUNT</a></pre> +<pre>private static final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.60">MIN_REGION_COUNT</a></pre> <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.master.normalizer.SimpleRegionNormalizer.MIN_REGION_COUNT">Constant Field Values</a></dd></dl> </li> </ul> <a name="masterServices"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>masterServices</h4> -<pre>private <a href="../../../../../../org/apache/hadoop/hbase/master/MasterServices.html" title="interface in org.apache.hadoop.hbase.master">MasterServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.58">masterServices</a></pre> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/master/MasterServices.html" title="interface in org.apache.hadoop.hbase.master">MasterServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.61">masterServices</a></pre> +</li> +</ul> +<a name="regionSizeComparator"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>regionSizeComparator</h4> +<pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><<a href="../../../../../../org/apache/hadoop/hbase/util/Triple.html" title="class in org.apache.hadoop.hbase.util">Triple</a><<a href="../../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.77">regionSizeComparator</a></pre> </li> </ul> </li> @@ -262,7 +275,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <ul class="blockListLast"> <li class="blockList"> <h4>SimpleRegionNormalizer</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.54">SimpleRegionNormalizer</a>()</pre> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.57">SimpleRegionNormalizer</a>()</pre> </li> </ul> </li> @@ -279,7 +292,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <ul class="blockList"> <li class="blockList"> <h4>setMasterServices</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.65">setMasterServices</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/MasterServices.html" title="interface in org.apache.hadoop.hbase.master">MasterServices</a> masterServices)</pre> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.68">setMasterServices</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/MasterServices.html" title="interface in org.apache.hadoop.hbase.master">MasterServices</a> masterServices)</pre> <div class="block">Set the master service.</div> <dl> <dt><strong>Specified by:</strong></dt> @@ -293,7 +306,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <ul class="blockList"> <li class="blockList"> <h4>computePlanForTable</h4> -<pre>public <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.77">computePlanForTable</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table) +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.96">computePlanForTable</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table) throws <a href="../../../../../../org/apache/hadoop/hbase/HBaseIOException.html" title="class in org.apache.hadoop.hbase">HBaseIOException</a></pre> <div class="block">Computes next most "urgent" normalization action on the table. Action may be either a split, or a merge, or no action.</div> @@ -312,7 +325,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <ul class="blockListLast"> <li class="blockList"> <h4>getRegionSize</h4> -<pre>private long <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.177">getRegionSize</a>(<a href="../../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri)</pre> +<pre>private long <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.169">getRegionSize</a>(<a href="../../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri)</pre> </li> </ul> </li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/org/apache/hadoop/hbase/master/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/package-tree.html b/devapidocs/org/apache/hadoop/hbase/master/package-tree.html index 0f7138f..ab79da5 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/master/package-tree.html @@ -290,10 +290,10 @@ <ul> <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="strong">Enum</span></a><E> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>) <ul> -<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MasterRpcServices.BalanceSwitchMode.html" title="enum in org.apache.hadoop.hbase.master"><span class="strong">MasterRpcServices.BalanceSwitchMode</span></a></li> <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.ResubmitDirective.html" title="enum in org.apache.hadoop.hbase.master"><span class="strong">SplitLogManager.ResubmitDirective</span></a></li> -<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.TerminationStatus.html" title="enum in org.apache.hadoop.hbase.master"><span class="strong">SplitLogManager.TerminationStatus</span></a></li> +<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MasterRpcServices.BalanceSwitchMode.html" title="enum in org.apache.hadoop.hbase.master"><span class="strong">MasterRpcServices.BalanceSwitchMode</span></a></li> <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MetricsMasterSourceFactoryImpl.FactoryStorage.html" title="enum in org.apache.hadoop.hbase.master"><span class="strong">MetricsMasterSourceFactoryImpl.FactoryStorage</span></a></li> +<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.TerminationStatus.html" title="enum in org.apache.hadoop.hbase.master"><span class="strong">SplitLogManager.TerminationStatus</span></a></li> <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/RegionState.State.html" title="enum in org.apache.hadoop.hbase.master"><span class="strong">RegionState.State</span></a></li> </ul> </li>