| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>AsyncBufferedMutatorBuilder (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.client, interface: AsyncBufferedMutatorBuilder"> |
| <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/AsyncBufferedMutatorBuilder.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.client</a></div> |
| <h1 title="Interface AsyncBufferedMutatorBuilder" class="title">Interface AsyncBufferedMutatorBuilder</h1> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><code><a href="AsyncBufferedMutatorBuilderImpl.html" title="class in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilderImpl</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="annotations">@Public |
| </span><span class="modifiers">public interface </span><span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-29">AsyncBufferedMutatorBuilder</a></span></div> |
| <div class="block">For creating <a href="AsyncBufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncBufferedMutator</code></a>.</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><button id="method-summary-table-tab5" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab5', 3)" class="table-tab">Default 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><a href="AsyncBufferedMutator.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutator</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#build()" class="member-name-link">build</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Create the <a href="AsyncBufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncBufferedMutator</code></a> instance.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#disableWriteBufferPeriodicFlush()" class="member-name-link">disableWriteBufferPeriodicFlush</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Disable the periodical flush, i.e, set the timeout to 0.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setMaxAttempts(int)" class="member-name-link">setMaxAttempts</a><wbr>(int maxAttempts)</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 max attempt times for an operation.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setMaxKeyValueSize(int)" class="member-name-link">setMaxKeyValueSize</a><wbr>(int maxKeyValueSize)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Override the maximum key-value size specified by the provided <a href="AsyncConnection.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncConnection</code></a>'s |
| <code>Configuration</code> instance, via the configuration key |
| <code>hbase.client.keyvalue.maxsize</code>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#setMaxRetries(int)" class="member-name-link">setMaxRetries</a><wbr>(int maxRetries)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Set the max retry times for an operation.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setOperationTimeout(long,java.util.concurrent.TimeUnit)" class="member-name-link">setOperationTimeout</a><wbr>(long timeout, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/TimeUnit.html" title="class or interface in java.util.concurrent" class="external-link">TimeUnit</a> unit)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Set timeout for the background flush operation.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setRequestAttribute(java.lang.String,byte%5B%5D)" class="member-name-link">setRequestAttribute</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, |
| byte[] value)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Set a rpc request attribute.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setRequestAttributes(java.util.Map)" class="member-name-link">setRequestAttributes</a><wbr>(<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[]> requestAttributes)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Set multiple rpc request attributes.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setRetryPause(long,java.util.concurrent.TimeUnit)" class="member-name-link">setRetryPause</a><wbr>(long pause, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/TimeUnit.html" title="class or interface in java.util.concurrent" class="external-link">TimeUnit</a> unit)</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 base pause time for retrying.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setRpcTimeout(long,java.util.concurrent.TimeUnit)" class="member-name-link">setRpcTimeout</a><wbr>(long timeout, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/TimeUnit.html" title="class or interface in java.util.concurrent" class="external-link">TimeUnit</a> unit)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Set timeout for each rpc request when doing background flush.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setStartLogErrorsCnt(int)" class="member-name-link">setStartLogErrorsCnt</a><wbr>(int startLogErrorsCnt)</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 number of retries that are allowed before we start to log.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#setWriteBufferPeriodicFlush(long,java.util.concurrent.TimeUnit)" class="member-name-link">setWriteBufferPeriodicFlush</a><wbr>(long timeout, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/TimeUnit.html" title="class or interface in java.util.concurrent" class="external-link">TimeUnit</a> unit)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Set the periodical flush interval.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setWriteBufferSize(long)" class="member-name-link">setWriteBufferSize</a><wbr>(long writeBufferSize)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Override the write buffer size specified by the provided <a href="AsyncConnection.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncConnection</code></a>'s |
| <code>Configuration</code> instance, via the configuration key |
| <code>hbase.client.write.buffer</code>.</div> |
| </div> |
| </div> |
| </div> |
| </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="setOperationTimeout(long,java.util.concurrent.TimeUnit)"> |
| <h3>setOperationTimeout</h3> |
| <div class="member-signature"><span class="return-type"><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-35">setOperationTimeout</a></span><wbr><span class="parameters">(long timeout, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/TimeUnit.html" title="class or interface in java.util.concurrent" class="external-link">TimeUnit</a> unit)</span></div> |
| <div class="block">Set timeout for the background flush operation.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setRpcTimeout(long,java.util.concurrent.TimeUnit)"> |
| <h3>setRpcTimeout</h3> |
| <div class="member-signature"><span class="return-type"><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-40">setRpcTimeout</a></span><wbr><span class="parameters">(long timeout, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/TimeUnit.html" title="class or interface in java.util.concurrent" class="external-link">TimeUnit</a> unit)</span></div> |
| <div class="block">Set timeout for each rpc request when doing background flush.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setRequestAttribute(java.lang.String,byte[])"> |
| <h3>setRequestAttribute</h3> |
| <div class="member-signature"><span class="return-type"><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-45">setRequestAttribute</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, |
| byte[] value)</span></div> |
| <div class="block">Set a rpc request attribute.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setRequestAttributes(java.util.Map)"> |
| <h3>setRequestAttributes</h3> |
| <div class="member-signature"><span class="return-type"><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-50">setRequestAttributes</a></span><wbr><span class="parameters">(<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[]> requestAttributes)</span></div> |
| <div class="block">Set multiple rpc request attributes.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setRetryPause(long,java.util.concurrent.TimeUnit)"> |
| <h3>setRetryPause</h3> |
| <div class="member-signature"><span class="return-type"><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-56">setRetryPause</a></span><wbr><span class="parameters">(long pause, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/TimeUnit.html" title="class or interface in java.util.concurrent" class="external-link">TimeUnit</a> unit)</span></div> |
| <div class="block">Set the base pause time for retrying. We use an exponential policy to generate sleep time when |
| retrying.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setWriteBufferPeriodicFlush(long,java.util.concurrent.TimeUnit)"> |
| <h3>setWriteBufferPeriodicFlush</h3> |
| <div class="member-signature"><span class="modifiers">default</span> <span class="return-type"><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-66">setWriteBufferPeriodicFlush</a></span><wbr><span class="parameters">(long timeout, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/TimeUnit.html" title="class or interface in java.util.concurrent" class="external-link">TimeUnit</a> unit)</span></div> |
| <div class="block">Set the periodical flush interval. If the data in the buffer has not been flush for a long |
| time, i.e, reach this timeout limit, we will flush it automatically. |
| <p/> |
| Notice that, set the timeout to 0 or a negative value means disable periodical flush, not |
| 'flush immediately'. If you want to flush immediately then you should not use this class, as it |
| is designed to be 'buffered'.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="disableWriteBufferPeriodicFlush()"> |
| <h3>disableWriteBufferPeriodicFlush</h3> |
| <div class="member-signature"><span class="modifiers">default</span> <span class="return-type"><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-73">disableWriteBufferPeriodicFlush</a></span>()</div> |
| <div class="block">Disable the periodical flush, i.e, set the timeout to 0.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setMaxRetries(int)"> |
| <h3>setMaxRetries</h3> |
| <div class="member-signature"><span class="modifiers">default</span> <span class="return-type"><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-85">setMaxRetries</a></span><wbr><span class="parameters">(int maxRetries)</span></div> |
| <div class="block">Set the max retry times for an operation. Usually it is the max attempt times minus 1. |
| <p> |
| Operation timeout and max attempt times(or max retry times) are both limitations for retrying, |
| we will stop retrying when we reach any of the limitations.</div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="#setMaxAttempts(int)"><code>setMaxAttempts(int)</code></a></li> |
| <li><a href="#setOperationTimeout(long,java.util.concurrent.TimeUnit)"><code>setOperationTimeout(long, TimeUnit)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setMaxAttempts(int)"> |
| <h3>setMaxAttempts</h3> |
| <div class="member-signature"><span class="return-type"><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-96">setMaxAttempts</a></span><wbr><span class="parameters">(int maxAttempts)</span></div> |
| <div class="block">Set the max attempt times for an operation. Usually it is the max retry times plus 1. Operation |
| timeout and max attempt times(or max retry times) are both limitations for retrying, we will |
| stop retrying when we reach any of the limitations.</div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="#setMaxRetries(int)"><code>setMaxRetries(int)</code></a></li> |
| <li><a href="#setOperationTimeout(long,java.util.concurrent.TimeUnit)"><code>setOperationTimeout(long, TimeUnit)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setStartLogErrorsCnt(int)"> |
| <h3>setStartLogErrorsCnt</h3> |
| <div class="member-signature"><span class="return-type"><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-101">setStartLogErrorsCnt</a></span><wbr><span class="parameters">(int startLogErrorsCnt)</span></div> |
| <div class="block">Set the number of retries that are allowed before we start to log.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setWriteBufferSize(long)"> |
| <h3>setWriteBufferSize</h3> |
| <div class="member-signature"><span class="return-type"><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-108">setWriteBufferSize</a></span><wbr><span class="parameters">(long writeBufferSize)</span></div> |
| <div class="block">Override the write buffer size specified by the provided <a href="AsyncConnection.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncConnection</code></a>'s |
| <code>Configuration</code> instance, via the configuration key |
| <code>hbase.client.write.buffer</code>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setMaxKeyValueSize(int)"> |
| <h3>setMaxKeyValueSize</h3> |
| <div class="member-signature"><span class="return-type"><a href="AsyncBufferedMutatorBuilder.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutatorBuilder</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-115">setMaxKeyValueSize</a></span><wbr><span class="parameters">(int maxKeyValueSize)</span></div> |
| <div class="block">Override the maximum key-value size specified by the provided <a href="AsyncConnection.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncConnection</code></a>'s |
| <code>Configuration</code> instance, via the configuration key |
| <code>hbase.client.keyvalue.maxsize</code>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="build()"> |
| <h3>build</h3> |
| <div class="member-signature"><span class="return-type"><a href="AsyncBufferedMutator.html" title="interface in org.apache.hadoop.hbase.client">AsyncBufferedMutator</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutatorBuilder.html#line-120">build</a></span>()</div> |
| <div class="block">Create the <a href="AsyncBufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncBufferedMutator</code></a> instance.</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> |