| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>SimpleRpcScheduler (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, class: SimpleRpcScheduler"> |
| <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/SimpleRpcScheduler.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><a href="#nested-class-summary">Nested</a> | </li> |
| <li><a href="#field-summary">Field</a> | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li><a href="#field-detail">Field</a> | </li> |
| <li><a href="#constructor-detail">Constr</a> | </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="Class SimpleRpcScheduler" class="title">Class SimpleRpcScheduler</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance"><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">org.apache.hadoop.hbase.ipc.RpcScheduler</a> |
| <div class="inheritance">org.apache.hadoop.hbase.ipc.SimpleRpcScheduler</div> |
| </div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="../conf/ConfigurationObserver.html" title="interface in org.apache.hadoop.hbase.conf">ConfigurationObserver</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="annotations">@LimitedPrivate({"Coprocesssor","Phoenix"}) |
| @Evolving |
| </span><span class="modifiers">public class </span><span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-38">SimpleRpcScheduler</a></span> |
| <span class="extends-implements">extends <a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a> |
| implements <a href="../conf/ConfigurationObserver.html" title="interface in org.apache.hadoop.hbase.conf">ConfigurationObserver</a></span></div> |
| <div class="block">The default scheduler. Configurable. Maintains isolated handler pools for general ('default'), |
| high-priority ('priority'), and replication ('replication') requests. Default behavior is to |
| balance the requests across handlers. Add configs to enable balancing by read vs writes, etc. See |
| below article for explanation of options.</div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="http://blog.cloudera.com/blog/2014/12/new-in-cdh-5-2-improvements-for-running-multiple-workloads-on-a-single-hbase-cluster/">Overview |
| on Request Queuing</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <li> |
| <section class="nested-class-summary" id="nested-class-summary"> |
| <h2>Nested Class Summary</h2> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.apache.hadoop.hbase.ipc.RpcScheduler">Nested classes/interfaces inherited from class org.apache.hadoop.hbase.ipc.<a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></h2> |
| <code><a href="RpcScheduler.Context.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler.Context</a></code></div> |
| </section> |
| </li> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="caption"><span>Fields</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Field</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>private <a href="../Abortable.html" title="interface in org.apache.hadoop.hbase">Abortable</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#abortable" class="member-name-link">abortable</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private final <a href="RpcExecutor.html" title="class in org.apache.hadoop.hbase.ipc">RpcExecutor</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#bulkloadExecutor" class="member-name-link">bulkloadExecutor</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private final <a href="RpcExecutor.html" title="class in org.apache.hadoop.hbase.ipc">RpcExecutor</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#callExecutor" class="member-name-link">callExecutor</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private final int</code></div> |
| <div class="col-second odd-row-color"><code><a href="#highPriorityLevel" class="member-name-link">highPriorityLevel</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">What level a high priority call is at.</div> |
| </div> |
| <div class="col-first even-row-color"><code>private final <a href="RpcExecutor.html" title="class in org.apache.hadoop.hbase.ipc">RpcExecutor</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#metaTransitionExecutor" class="member-name-link">metaTransitionExecutor</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">This executor is only for meta transition</div> |
| </div> |
| <div class="col-first odd-row-color"><code>private int</code></div> |
| <div class="col-second odd-row-color"><code><a href="#port" class="member-name-link">port</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private final <a href="PriorityFunction.html" title="interface in org.apache.hadoop.hbase.ipc">PriorityFunction</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#priority" class="member-name-link">priority</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private final <a href="RpcExecutor.html" title="class in org.apache.hadoop.hbase.ipc">RpcExecutor</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#priorityExecutor" class="member-name-link">priorityExecutor</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private final <a href="RpcExecutor.html" title="class in org.apache.hadoop.hbase.ipc">RpcExecutor</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#replicationExecutor" class="member-name-link">replicationExecutor</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.apache.hadoop.hbase.ipc.RpcScheduler">Fields inherited from class org.apache.hadoop.hbase.ipc.<a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></h3> |
| <code><a href="RpcScheduler.html#IPC_SERVER_BULKLOAD_MAX_CALLQUEUE_LENGTH">IPC_SERVER_BULKLOAD_MAX_CALLQUEUE_LENGTH</a>, <a href="RpcScheduler.html#IPC_SERVER_MAX_CALLQUEUE_LENGTH">IPC_SERVER_MAX_CALLQUEUE_LENGTH</a>, <a href="RpcScheduler.html#IPC_SERVER_PRIORITY_MAX_CALLQUEUE_LENGTH">IPC_SERVER_PRIORITY_MAX_CALLQUEUE_LENGTH</a>, <a href="RpcScheduler.html#IPC_SERVER_REPLICATION_MAX_CALLQUEUE_LENGTH">IPC_SERVER_REPLICATION_MAX_CALLQUEUE_LENGTH</a></code></div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.apache.hadoop.conf.Configuration,int,int,int,int,org.apache.hadoop.hbase.ipc.PriorityFunction,org.apache.hadoop.hbase.Abortable,int)" class="member-name-link">SimpleRpcScheduler</a><wbr>(org.apache.hadoop.conf.Configuration conf, |
| int handlerCount, |
| int priorityHandlerCount, |
| int replicationHandlerCount, |
| int metaTransitionHandler, |
| <a href="PriorityFunction.html" title="interface in org.apache.hadoop.hbase.ipc">PriorityFunction</a> priority, |
| <a href="../Abortable.html" title="interface in org.apache.hadoop.hbase">Abortable</a> server, |
| int highPriorityLevel)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(org.apache.hadoop.conf.Configuration,int,int,int,org.apache.hadoop.hbase.ipc.PriorityFunction,int)" class="member-name-link">SimpleRpcScheduler</a><wbr>(org.apache.hadoop.conf.Configuration conf, |
| int handlerCount, |
| int priorityHandlerCount, |
| int replicationHandlerCount, |
| <a href="PriorityFunction.html" title="interface in org.apache.hadoop.hbase.ipc">PriorityFunction</a> priority, |
| int highPriorityLevel)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== 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-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete 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-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#dispatch(org.apache.hadoop.hbase.ipc.CallRunner)" class="member-name-link">dispatch</a><wbr>(<a href="CallRunner.html" title="class in org.apache.hadoop.hbase.ipc">CallRunner</a> callTask)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Dispatches an RPC request asynchronously.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getActiveBulkLoadRpcHandlerCount()" class="member-name-link">getActiveBulkLoadRpcHandlerCount</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves the number of active bulkload handler.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getActiveGeneralRpcHandlerCount()" class="member-name-link">getActiveGeneralRpcHandlerCount</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves the number of active general handler.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getActiveMetaPriorityRpcHandlerCount()" class="member-name-link">getActiveMetaPriorityRpcHandlerCount</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves the number of active meta priority handler.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getActivePriorityRpcHandlerCount()" class="member-name-link">getActivePriorityRpcHandlerCount</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves the number of active priority handler.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getActiveReadRpcHandlerCount()" class="member-name-link">getActiveReadRpcHandlerCount</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves the number of active write rpc handler when use RWQueueRpcExecutor.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getActiveReplicationRpcHandlerCount()" class="member-name-link">getActiveReplicationRpcHandlerCount</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves the number of active replication handler.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getActiveRpcHandlerCount()" class="member-name-link">getActiveRpcHandlerCount</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves the total number of active handler.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getActiveScanRpcHandlerCount()" class="member-name-link">getActiveScanRpcHandlerCount</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves the number of active write rpc handler when use RWQueueRpcExecutor.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getActiveWriteRpcHandlerCount()" class="member-name-link">getActiveWriteRpcHandlerCount</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves the number of active write rpc handler when use RWQueueRpcExecutor.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBulkLoadQueueLength()" class="member-name-link">getBulkLoadQueueLength</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves length of the bulkload queue for metrics.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CallQueueInfo.html" title="class in org.apache.hadoop.hbase.ipc">CallQueueInfo</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCallQueueInfo()" class="member-name-link">getCallQueueInfo</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get call queue information</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getGeneralQueueLength()" class="member-name-link">getGeneralQueueLength</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves length of the general queue for metrics.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMetaPriorityQueueLength()" class="member-name-link">getMetaPriorityQueueLength</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves length of the meta priority queue for metrics.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNumGeneralCallsDropped()" class="member-name-link">getNumGeneralCallsDropped</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">If CoDel-based RPC executors are used, retrieves the number of Calls that were dropped from |
| general queue because RPC executor is under high load; returns 0 otherwise.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNumLifoModeSwitches()" class="member-name-link">getNumLifoModeSwitches</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">If CoDel-based RPC executors are used, retrieves the number of Calls that were picked from the |
| tail of the queue (indicating adaptive LIFO mode, when in the period of overloade we serve last |
| requests first); returns 0 otherwise.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPriorityQueueLength()" class="member-name-link">getPriorityQueueLength</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves length of the priority queue for metrics.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getReadQueueLength()" class="member-name-link">getReadQueueLength</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves length of the read queue for metrics when use RWQueueRpcExecutor.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getReplicationQueueLength()" class="member-name-link">getReplicationQueueLength</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves length of the replication queue for metrics.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getScanQueueLength()" class="member-name-link">getScanQueueLength</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves length of the scan queue for metrics when use RWQueueRpcExecutor.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getWriteQueueLength()" class="member-name-link">getWriteQueueLength</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves length of the write queue for metrics when use RWQueueRpcExecutor.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#init(org.apache.hadoop.hbase.ipc.RpcScheduler.Context)" class="member-name-link">init</a><wbr>(<a href="RpcScheduler.Context.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler.Context</a> context)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Does some quick initialization.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onConfigurationChange(org.apache.hadoop.conf.Configuration)" class="member-name-link">onConfigurationChange</a><wbr>(org.apache.hadoop.conf.Configuration conf)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Resize call queues;</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#start()" class="member-name-link">start</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Prepares for request serving.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#stop()" class="member-name-link">stop</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Stops serving new requests.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li> |
| <section class="field-details" id="field-detail"> |
| <h2>Field Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="port"> |
| <h3>port</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-41">port</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="priority"> |
| <h3>priority</h3> |
| <div class="member-signature"><span class="modifiers">private final</span> <span class="return-type"><a href="PriorityFunction.html" title="interface in org.apache.hadoop.hbase.ipc">PriorityFunction</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-42">priority</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="callExecutor"> |
| <h3>callExecutor</h3> |
| <div class="member-signature"><span class="modifiers">private final</span> <span class="return-type"><a href="RpcExecutor.html" title="class in org.apache.hadoop.hbase.ipc">RpcExecutor</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-43">callExecutor</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="priorityExecutor"> |
| <h3>priorityExecutor</h3> |
| <div class="member-signature"><span class="modifiers">private final</span> <span class="return-type"><a href="RpcExecutor.html" title="class in org.apache.hadoop.hbase.ipc">RpcExecutor</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-44">priorityExecutor</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="replicationExecutor"> |
| <h3>replicationExecutor</h3> |
| <div class="member-signature"><span class="modifiers">private final</span> <span class="return-type"><a href="RpcExecutor.html" title="class in org.apache.hadoop.hbase.ipc">RpcExecutor</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-45">replicationExecutor</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="metaTransitionExecutor"> |
| <h3>metaTransitionExecutor</h3> |
| <div class="member-signature"><span class="modifiers">private final</span> <span class="return-type"><a href="RpcExecutor.html" title="class in org.apache.hadoop.hbase.ipc">RpcExecutor</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-50">metaTransitionExecutor</a></span></div> |
| <div class="block">This executor is only for meta transition</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="bulkloadExecutor"> |
| <h3>bulkloadExecutor</h3> |
| <div class="member-signature"><span class="modifiers">private final</span> <span class="return-type"><a href="RpcExecutor.html" title="class in org.apache.hadoop.hbase.ipc">RpcExecutor</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-52">bulkloadExecutor</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="highPriorityLevel"> |
| <h3>highPriorityLevel</h3> |
| <div class="member-signature"><span class="modifiers">private final</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-55">highPriorityLevel</a></span></div> |
| <div class="block">What level a high priority call is at.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="abortable"> |
| <h3>abortable</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type"><a href="../Abortable.html" title="interface in org.apache.hadoop.hbase">Abortable</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-57">abortable</a></span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>(org.apache.hadoop.conf.Configuration,int,int,int,int,org.apache.hadoop.hbase.ipc.PriorityFunction,org.apache.hadoop.hbase.Abortable,int)"> |
| <h3>SimpleRpcScheduler</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-65">SimpleRpcScheduler</a></span><wbr><span class="parameters">(org.apache.hadoop.conf.Configuration conf, |
| int handlerCount, |
| int priorityHandlerCount, |
| int replicationHandlerCount, |
| int metaTransitionHandler, |
| <a href="PriorityFunction.html" title="interface in org.apache.hadoop.hbase.ipc">PriorityFunction</a> priority, |
| <a href="../Abortable.html" title="interface in org.apache.hadoop.hbase">Abortable</a> server, |
| int highPriorityLevel)</span></div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>handlerCount</code> - the number of handler threads that will be used to process calls</dd> |
| <dd><code>priorityHandlerCount</code> - How many threads for priority handling.</dd> |
| <dd><code>replicationHandlerCount</code> - How many threads for replication handling.</dd> |
| <dd><code>priority</code> - Function to extract request priority.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(org.apache.hadoop.conf.Configuration,int,int,int,org.apache.hadoop.hbase.ipc.PriorityFunction,int)"> |
| <h3>SimpleRpcScheduler</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-137">SimpleRpcScheduler</a></span><wbr><span class="parameters">(org.apache.hadoop.conf.Configuration conf, |
| int handlerCount, |
| int priorityHandlerCount, |
| int replicationHandlerCount, |
| <a href="PriorityFunction.html" title="interface in org.apache.hadoop.hbase.ipc">PriorityFunction</a> priority, |
| int highPriorityLevel)</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="onConfigurationChange(org.apache.hadoop.conf.Configuration)"> |
| <h3>onConfigurationChange</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-147">onConfigurationChange</a></span><wbr><span class="parameters">(org.apache.hadoop.conf.Configuration conf)</span></div> |
| <div class="block">Resize call queues;</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../conf/ConfigurationObserver.html#onConfigurationChange(org.apache.hadoop.conf.Configuration)">onConfigurationChange</a></code> in interface <code><a href="../conf/ConfigurationObserver.html" title="interface in org.apache.hadoop.hbase.conf">ConfigurationObserver</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>conf</code> - new configuration</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="init(org.apache.hadoop.hbase.ipc.RpcScheduler.Context)"> |
| <h3>init</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-172">init</a></span><wbr><span class="parameters">(<a href="RpcScheduler.Context.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler.Context</a> context)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#init(org.apache.hadoop.hbase.ipc.RpcScheduler.Context)">RpcScheduler</a></code></span></div> |
| <div class="block">Does some quick initialization. Heavy tasks (e.g. starting threads) should be done in |
| <a href="RpcScheduler.html#start()"><code>RpcScheduler.start()</code></a>. This method is called before <code>start</code>.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#init(org.apache.hadoop.hbase.ipc.RpcScheduler.Context)">init</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>context</code> - provides methods to retrieve runtime information from</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="start()"> |
| <h3>start</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-177">start</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#start()">RpcScheduler</a></code></span></div> |
| <div class="block">Prepares for request serving. An implementation may start some handler threads here.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#start()">start</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="stop()"> |
| <h3>stop</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-195">stop</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#stop()">RpcScheduler</a></code></span></div> |
| <div class="block">Stops serving new requests.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#stop()">stop</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="dispatch(org.apache.hadoop.hbase.ipc.CallRunner)"> |
| <h3>dispatch</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-213">dispatch</a></span><wbr><span class="parameters">(<a href="CallRunner.html" title="class in org.apache.hadoop.hbase.ipc">CallRunner</a> callTask)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#dispatch(org.apache.hadoop.hbase.ipc.CallRunner)">RpcScheduler</a></code></span></div> |
| <div class="block">Dispatches an RPC request asynchronously. An implementation is free to choose to process the |
| request immediately or delay it for later processing.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#dispatch(org.apache.hadoop.hbase.ipc.CallRunner)">dispatch</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>callTask</code> - the request to be dispatched</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getMetaPriorityQueueLength()"> |
| <h3>getMetaPriorityQueueLength</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-237">getMetaPriorityQueueLength</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getMetaPriorityQueueLength()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves length of the meta priority queue for metrics.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getMetaPriorityQueueLength()">getMetaPriorityQueueLength</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getGeneralQueueLength()"> |
| <h3>getGeneralQueueLength</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-242">getGeneralQueueLength</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getGeneralQueueLength()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves length of the general queue for metrics.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getGeneralQueueLength()">getGeneralQueueLength</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getPriorityQueueLength()"> |
| <h3>getPriorityQueueLength</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-247">getPriorityQueueLength</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getPriorityQueueLength()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves length of the priority queue for metrics.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getPriorityQueueLength()">getPriorityQueueLength</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getReplicationQueueLength()"> |
| <h3>getReplicationQueueLength</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-252">getReplicationQueueLength</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getReplicationQueueLength()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves length of the replication queue for metrics.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getReplicationQueueLength()">getReplicationQueueLength</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getBulkLoadQueueLength()"> |
| <h3>getBulkLoadQueueLength</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-257">getBulkLoadQueueLength</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getBulkLoadQueueLength()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves length of the bulkload queue for metrics.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getBulkLoadQueueLength()">getBulkLoadQueueLength</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getActiveRpcHandlerCount()"> |
| <h3>getActiveRpcHandlerCount</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-262">getActiveRpcHandlerCount</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getActiveRpcHandlerCount()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves the total number of active handler.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getActiveRpcHandlerCount()">getActiveRpcHandlerCount</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getActiveMetaPriorityRpcHandlerCount()"> |
| <h3>getActiveMetaPriorityRpcHandlerCount</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-269">getActiveMetaPriorityRpcHandlerCount</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getActiveMetaPriorityRpcHandlerCount()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves the number of active meta priority handler.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getActiveMetaPriorityRpcHandlerCount()">getActiveMetaPriorityRpcHandlerCount</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getActiveGeneralRpcHandlerCount()"> |
| <h3>getActiveGeneralRpcHandlerCount</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-274">getActiveGeneralRpcHandlerCount</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getActiveGeneralRpcHandlerCount()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves the number of active general handler.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getActiveGeneralRpcHandlerCount()">getActiveGeneralRpcHandlerCount</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getActivePriorityRpcHandlerCount()"> |
| <h3>getActivePriorityRpcHandlerCount</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-279">getActivePriorityRpcHandlerCount</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getActivePriorityRpcHandlerCount()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves the number of active priority handler.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getActivePriorityRpcHandlerCount()">getActivePriorityRpcHandlerCount</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getActiveReplicationRpcHandlerCount()"> |
| <h3>getActiveReplicationRpcHandlerCount</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-284">getActiveReplicationRpcHandlerCount</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getActiveReplicationRpcHandlerCount()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves the number of active replication handler.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getActiveReplicationRpcHandlerCount()">getActiveReplicationRpcHandlerCount</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getActiveBulkLoadRpcHandlerCount()"> |
| <h3>getActiveBulkLoadRpcHandlerCount</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-289">getActiveBulkLoadRpcHandlerCount</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getActiveBulkLoadRpcHandlerCount()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves the number of active bulkload handler.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getActiveBulkLoadRpcHandlerCount()">getActiveBulkLoadRpcHandlerCount</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getNumGeneralCallsDropped()"> |
| <h3>getNumGeneralCallsDropped</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-294">getNumGeneralCallsDropped</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getNumGeneralCallsDropped()">RpcScheduler</a></code></span></div> |
| <div class="block">If CoDel-based RPC executors are used, retrieves the number of Calls that were dropped from |
| general queue because RPC executor is under high load; returns 0 otherwise.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getNumGeneralCallsDropped()">getNumGeneralCallsDropped</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getNumLifoModeSwitches()"> |
| <h3>getNumLifoModeSwitches</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-299">getNumLifoModeSwitches</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getNumLifoModeSwitches()">RpcScheduler</a></code></span></div> |
| <div class="block">If CoDel-based RPC executors are used, retrieves the number of Calls that were picked from the |
| tail of the queue (indicating adaptive LIFO mode, when in the period of overloade we serve last |
| requests first); returns 0 otherwise.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getNumLifoModeSwitches()">getNumLifoModeSwitches</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getWriteQueueLength()"> |
| <h3>getWriteQueueLength</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-304">getWriteQueueLength</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getWriteQueueLength()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves length of the write queue for metrics when use RWQueueRpcExecutor.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getWriteQueueLength()">getWriteQueueLength</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getReadQueueLength()"> |
| <h3>getReadQueueLength</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-309">getReadQueueLength</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getReadQueueLength()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves length of the read queue for metrics when use RWQueueRpcExecutor.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getReadQueueLength()">getReadQueueLength</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getScanQueueLength()"> |
| <h3>getScanQueueLength</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-314">getScanQueueLength</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getScanQueueLength()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves length of the scan queue for metrics when use RWQueueRpcExecutor.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getScanQueueLength()">getScanQueueLength</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getActiveWriteRpcHandlerCount()"> |
| <h3>getActiveWriteRpcHandlerCount</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-319">getActiveWriteRpcHandlerCount</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getActiveWriteRpcHandlerCount()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves the number of active write rpc handler when use RWQueueRpcExecutor.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getActiveWriteRpcHandlerCount()">getActiveWriteRpcHandlerCount</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getActiveReadRpcHandlerCount()"> |
| <h3>getActiveReadRpcHandlerCount</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-324">getActiveReadRpcHandlerCount</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getActiveReadRpcHandlerCount()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves the number of active write rpc handler when use RWQueueRpcExecutor.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getActiveReadRpcHandlerCount()">getActiveReadRpcHandlerCount</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getActiveScanRpcHandlerCount()"> |
| <h3>getActiveScanRpcHandlerCount</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-329">getActiveScanRpcHandlerCount</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getActiveScanRpcHandlerCount()">RpcScheduler</a></code></span></div> |
| <div class="block">Retrieves the number of active write rpc handler when use RWQueueRpcExecutor.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getActiveScanRpcHandlerCount()">getActiveScanRpcHandlerCount</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getCallQueueInfo()"> |
| <h3>getCallQueueInfo</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CallQueueInfo.html" title="class in org.apache.hadoop.hbase.ipc">CallQueueInfo</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.html#line-334">getCallQueueInfo</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="RpcScheduler.html#getCallQueueInfo()">RpcScheduler</a></code></span></div> |
| <div class="block">Get call queue information</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="RpcScheduler.html#getCallQueueInfo()">getCallQueueInfo</a></code> in class <code><a href="RpcScheduler.html" title="class in org.apache.hadoop.hbase.ipc">RpcScheduler</a></code></dd> |
| </dl> |
| </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> |