| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>RpcCall (Apache HBase 4.0.0-alpha-1-SNAPSHOT API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.hadoop.hbase.ipc, interface: RpcCall"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-3.6.1.min.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="class-use/RpcCall.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.hadoop.hbase.ipc</a></div> |
| <h1 title="Interface RpcCall" class="title">Interface RpcCall</h1> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Superinterfaces:</dt> |
| <dd><code><a href="RpcCallContext.html" title="interface in org.apache.hadoop.hbase.ipc">RpcCallContext</a></code></dd> |
| </dl> |
| <dl class="notes"> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><code><a href="NettyServerCall.html" title="class in org.apache.hadoop.hbase.ipc">NettyServerCall</a></code>, <code><a href="ServerCall.html" title="class in org.apache.hadoop.hbase.ipc">ServerCall</a></code>, <code><a href="SimpleServerCall.html" title="class in org.apache.hadoop.hbase.ipc">SimpleServerCall</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="annotations">@LimitedPrivate({"Coprocesssor","Phoenix"}) |
| @Evolving |
| </span><span class="modifiers">public interface </span><span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-37">RpcCall</a></span><span class="extends-implements"> |
| extends <a href="RpcCallContext.html" title="interface in org.apache.hadoop.hbase.ipc">RpcCallContext</a></span></div> |
| <div class="block">Interface of all necessary to carry out a RPC method invocation on the server.</div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#cleanup()" class="member-name-link">cleanup</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Do the necessary cleanup after the call if needed.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="../ExtendedCellScanner.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScanner</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getCellScanner()" class="member-name-link">getCellScanner</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns The CellScanner that can carry input and result payload.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr>byte[]></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getConnectionAttributes()" class="member-name-link">getConnectionAttributes</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the map of attributes specified when building the Connection.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getDeadline()" class="member-name-link">getDeadline</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Return the deadline of this call.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>long</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getFsReadTime()" class="member-name-link">getFsReadTime</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHeader()" class="member-name-link">getHeader</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns The request header of this call.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getMethod()" class="member-name-link">getMethod</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns The service method.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>org.apache.hbase.thirdparty.com.google.protobuf.Message</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getParam()" class="member-name-link">getParam</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns The call parameter message.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPriority()" class="member-name-link">getPriority</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns The Priority of this call.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getReceiveTime()" class="member-name-link">getReceiveTime</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns The timestamp when the call is constructed.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getRemotePort()" class="member-name-link">getRemotePort</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns Port of remote address in this call</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>byte[]</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getRequestAttribute(java.lang.String)" class="member-name-link">getRequestAttribute</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> key)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns a single request attribute value, or null if no value is present.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr>byte[]></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getRequestAttributes()" class="member-name-link">getRequestAttributes</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the map of attributes specified when building the request.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>org.apache.hbase.thirdparty.com.google.protobuf.BlockingService</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getService()" class="member-name-link">getService</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns The service of this call.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>long</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSize()" class="member-name-link">getSize</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Used to calculate the request call queue size.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getStartTime()" class="member-name-link">getStartTime</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns The time when the call starts to be executed.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTimeout()" class="member-name-link">getTimeout</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns The timeout of this call.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#sendResponseIfReady()" class="member-name-link">sendResponseIfReady</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Send the response of this RPC call.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setResponse(org.apache.hbase.thirdparty.com.google.protobuf.Message,org.apache.hadoop.hbase.ExtendedCellScanner,java.lang.Throwable,java.lang.String)" class="member-name-link">setResponse</a><wbr>(org.apache.hbase.thirdparty.com.google.protobuf.Message param, |
| <a href="../ExtendedCellScanner.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScanner</a> cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a> errorThrowable, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> error)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Set the response resulting from this RPC call.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setStartTime(long)" class="member-name-link">setStartTime</a><wbr>(long startTime)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Set the time when the call starts to be executed.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#toShortString()" class="member-name-link">toShortString</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns A short string format of this call without possibly lengthy params</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#updateFsReadTime(long)" class="member-name-link">updateFsReadTime</a><wbr>(long latencyMillis)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.hadoop.hbase.ipc.RpcCallContext">Methods inherited from interface org.apache.hadoop.hbase.ipc.<a href="RpcCallContext.html" title="interface in org.apache.hadoop.hbase.ipc">RpcCallContext</a></h3> |
| <code><a href="RpcCallContext.html#disconnectSince()">disconnectSince</a>, <a href="RpcCallContext.html#getBlockBytesScanned()">getBlockBytesScanned</a>, <a href="RpcCallContext.html#getClientCertificateChain()">getClientCertificateChain</a>, <a href="RpcCallContext.html#getClientVersionInfo()">getClientVersionInfo</a>, <a href="RpcCallContext.html#getRemoteAddress()">getRemoteAddress</a>, <a href="RpcCallContext.html#getRequestUser()">getRequestUser</a>, <a href="RpcCallContext.html#getRequestUserName()">getRequestUserName</a>, <a href="RpcCallContext.html#getResponseCellSize()">getResponseCellSize</a>, <a href="RpcCallContext.html#getResponseExceptionSize()">getResponseExceptionSize</a>, <a href="RpcCallContext.html#incrementBlockBytesScanned(long)">incrementBlockBytesScanned</a>, <a href="RpcCallContext.html#incrementResponseCellSize(long)">incrementResponseCellSize</a>, <a href="RpcCallContext.html#incrementResponseExceptionSize(long)">incrementResponseExceptionSize</a>, <a href="RpcCallContext.html#isClientCellBlockSupported()">isClientCellBlockSupported</a>, <a href="RpcCallContext.html#isRetryImmediatelySupported()">isRetryImmediatelySupported</a>, <a href="RpcCallContext.html#setCallBack(org.apache.hadoop.hbase.ipc.RpcCallback)">setCallBack</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="getService()"> |
| <h3>getService</h3> |
| <div class="member-signature"><span class="return-type">org.apache.hbase.thirdparty.com.google.protobuf.BlockingService</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-42">getService</a></span>()</div> |
| <div class="block">Returns The service of this call.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getMethod()"> |
| <h3>getMethod</h3> |
| <div class="member-signature"><span class="return-type">org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-45">getMethod</a></span>()</div> |
| <div class="block">Returns The service method.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getParam()"> |
| <h3>getParam</h3> |
| <div class="member-signature"><span class="return-type">org.apache.hbase.thirdparty.com.google.protobuf.Message</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-48">getParam</a></span>()</div> |
| <div class="block">Returns The call parameter message.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getCellScanner()"> |
| <h3>getCellScanner</h3> |
| <div class="member-signature"><span class="return-type"><a href="../ExtendedCellScanner.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScanner</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-51">getCellScanner</a></span>()</div> |
| <div class="block">Returns The CellScanner that can carry input and result payload.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getReceiveTime()"> |
| <h3>getReceiveTime</h3> |
| <div class="member-signature"><span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-54">getReceiveTime</a></span>()</div> |
| <div class="block">Returns The timestamp when the call is constructed.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getStartTime()"> |
| <h3>getStartTime</h3> |
| <div class="member-signature"><span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-57">getStartTime</a></span>()</div> |
| <div class="block">Returns The time when the call starts to be executed.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setStartTime(long)"> |
| <h3>setStartTime</h3> |
| <div class="member-signature"><span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-62">setStartTime</a></span><wbr><span class="parameters">(long startTime)</span></div> |
| <div class="block">Set the time when the call starts to be executed.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getTimeout()"> |
| <h3>getTimeout</h3> |
| <div class="member-signature"><span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-65">getTimeout</a></span>()</div> |
| <div class="block">Returns The timeout of this call.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getPriority()"> |
| <h3>getPriority</h3> |
| <div class="member-signature"><span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-68">getPriority</a></span>()</div> |
| <div class="block">Returns The Priority of this call.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getDeadline()"> |
| <h3>getDeadline</h3> |
| <div class="member-signature"><span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-75">getDeadline</a></span>()</div> |
| <div class="block">Return the deadline of this call. If we can not complete this call in time, we can throw a |
| TimeoutIOException and RPCServer will drop it.</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>The system timestamp of deadline.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getSize()"> |
| <h3>getSize</h3> |
| <div class="member-signature"><span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-82">getSize</a></span>()</div> |
| <div class="block">Used to calculate the request call queue size. If the total request call size exceeds a limit, |
| the call will be rejected.</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>The raw size of this call.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getHeader()"> |
| <h3>getHeader</h3> |
| <div class="member-signature"><span class="return-type">org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-85">getHeader</a></span>()</div> |
| <div class="block">Returns The request header of this call.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getConnectionAttributes()"> |
| <h3>getConnectionAttributes</h3> |
| <div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr>byte[]></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-92">getConnectionAttributes</a></span>()</div> |
| <div class="block">Returns the map of attributes specified when building the Connection.</div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="../client/ConnectionFactory.html#createConnection(org.apache.hadoop.conf.Configuration,java.util.concurrent.ExecutorService,org.apache.hadoop.hbase.security.User,java.util.Map)"><code>ConnectionFactory.createConnection(Configuration, ExecutorService, User, Map)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRequestAttributes()"> |
| <h3>getRequestAttributes</h3> |
| <div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr>byte[]></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-100">getRequestAttributes</a></span>()</div> |
| <div class="block">Returns the map of attributes specified when building the request. This map is lazily evaluated |
| so if you only need a single attribute then it may be cheaper to use |
| <a href="#getRequestAttribute(java.lang.String)"><code>getRequestAttribute(String)</code></a></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="../client/TableBuilder.html#setRequestAttribute(java.lang.String,byte%5B%5D)"><code>TableBuilder.setRequestAttribute(String, byte[])</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRequestAttribute(java.lang.String)"> |
| <h3>getRequestAttribute</h3> |
| <div class="member-signature"><span class="return-type">byte[]</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-108">getRequestAttribute</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> key)</span></div> |
| <div class="block">Returns a single request attribute value, or null if no value is present. If you need many |
| request attributes then you should fetch the lazily evaluated map via |
| <a href="#getRequestAttributes()"><code>getRequestAttributes()</code></a></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="../client/TableBuilder.html#setRequestAttribute(java.lang.String,byte%5B%5D)"><code>TableBuilder.setRequestAttribute(String, byte[])</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRemotePort()"> |
| <h3>getRemotePort</h3> |
| <div class="member-signature"><span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-111">getRemotePort</a></span>()</div> |
| <div class="block">Returns Port of remote address in this call</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setResponse(org.apache.hbase.thirdparty.com.google.protobuf.Message,org.apache.hadoop.hbase.ExtendedCellScanner,java.lang.Throwable,java.lang.String)"> |
| <h3>setResponse</h3> |
| <div class="member-signature"><span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-120">setResponse</a></span><wbr><span class="parameters">(org.apache.hbase.thirdparty.com.google.protobuf.Message param, |
| <a href="../ExtendedCellScanner.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScanner</a> cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a> errorThrowable, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> error)</span></div> |
| <div class="block">Set the response resulting from this RPC call.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>param</code> - The result message as response.</dd> |
| <dd><code>cells</code> - The CellScanner that possibly carries the payload.</dd> |
| <dd><code>errorThrowable</code> - The error Throwable resulting from the call.</dd> |
| <dd><code>error</code> - Extra error message.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="sendResponseIfReady()"> |
| <h3>sendResponseIfReady</h3> |
| <div class="member-signature"><span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-127">sendResponseIfReady</a></span>() |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Send the response of this RPC call. Implementation provides the underlying facility |
| (connection, etc) to send.</div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="cleanup()"> |
| <h3>cleanup</h3> |
| <div class="member-signature"><span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-132">cleanup</a></span>()</div> |
| <div class="block">Do the necessary cleanup after the call if needed.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="toShortString()"> |
| <h3>toShortString</h3> |
| <div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-135">toShortString</a></span>()</div> |
| <div class="block">Returns A short string format of this call without possibly lengthy params</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateFsReadTime(long)"> |
| <h3>updateFsReadTime</h3> |
| <div class="member-signature"><span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-137">updateFsReadTime</a></span><wbr><span class="parameters">(long latencyMillis)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getFsReadTime()"> |
| <h3>getFsReadTime</h3> |
| <div class="member-signature"><span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/RpcCall.html#line-139">getFsReadTime</a></span>()</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 2007–2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |