hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [33/51] [partial] hbase-site git commit: Published site at .
Date Thu, 16 Nov 2017 15:17:33 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/67a6e2ec/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncConnection.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncConnection.html b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncConnection.html
index 0284787..90918c6 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncConnection.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncConnection.html
@@ -57,134 +57,139 @@
 <span class="sourceLineNo">049</span>  AsyncTableRegionLocator getRegionLocator(TableName
tableName);<a name="line.49"></a>
 <span class="sourceLineNo">050</span><a name="line.50"></a>
 <span class="sourceLineNo">051</span>  /**<a name="line.51"></a>
-<span class="sourceLineNo">052</span>   * Retrieve an {@link RawAsyncTable} implementation
for accessing a table.<a name="line.52"></a>
+<span class="sourceLineNo">052</span>   * Retrieve an {@link AsyncTable} implementation
for accessing a table.<a name="line.52"></a>
 <span class="sourceLineNo">053</span>   * &lt;p&gt;<a name="line.53"></a>
-<span class="sourceLineNo">054</span>   * The returned instance will use default
configs. Use {@link #getRawTableBuilder(TableName)} if you<a name="line.54"></a>
-<span class="sourceLineNo">055</span>   * want to customize some configs.<a
name="line.55"></a>
+<span class="sourceLineNo">054</span>   * The returned instance will use default
configs. Use {@link #getTableBuilder(TableName)} if<a name="line.54"></a>
+<span class="sourceLineNo">055</span>   * you want to customize some configs.<a
name="line.55"></a>
 <span class="sourceLineNo">056</span>   * &lt;p&gt;<a name="line.56"></a>
 <span class="sourceLineNo">057</span>   * This method no longer checks table
existence. An exception will be thrown if the table does not<a name="line.57"></a>
 <span class="sourceLineNo">058</span>   * exist only when the first operation
is attempted.<a name="line.58"></a>
-<span class="sourceLineNo">059</span>   * @param tableName the name of the table<a
name="line.59"></a>
-<span class="sourceLineNo">060</span>   * @return an RawAsyncTable to use for
interactions with this table<a name="line.60"></a>
-<span class="sourceLineNo">061</span>   * @see #getRawTableBuilder(TableName)<a
name="line.61"></a>
-<span class="sourceLineNo">062</span>   */<a name="line.62"></a>
-<span class="sourceLineNo">063</span>  default RawAsyncTable getRawTable(TableName
tableName) {<a name="line.63"></a>
-<span class="sourceLineNo">064</span>    return getRawTableBuilder(tableName).build();<a
name="line.64"></a>
-<span class="sourceLineNo">065</span>  }<a name="line.65"></a>
-<span class="sourceLineNo">066</span><a name="line.66"></a>
-<span class="sourceLineNo">067</span>  /**<a name="line.67"></a>
-<span class="sourceLineNo">068</span>   * Returns an {@link AsyncTableBuilder}
for creating {@link RawAsyncTable}.<a name="line.68"></a>
-<span class="sourceLineNo">069</span>   * &lt;p&gt;<a name="line.69"></a>
-<span class="sourceLineNo">070</span>   * This method no longer checks table
existence. An exception will be thrown if the table does not<a name="line.70"></a>
-<span class="sourceLineNo">071</span>   * exist only when the first operation
is attempted.<a name="line.71"></a>
-<span class="sourceLineNo">072</span>   * @param tableName the name of the table<a
name="line.72"></a>
-<span class="sourceLineNo">073</span>   */<a name="line.73"></a>
-<span class="sourceLineNo">074</span>  AsyncTableBuilder&lt;RawAsyncTable&gt;
getRawTableBuilder(TableName tableName);<a name="line.74"></a>
-<span class="sourceLineNo">075</span><a name="line.75"></a>
-<span class="sourceLineNo">076</span>  /**<a name="line.76"></a>
-<span class="sourceLineNo">077</span>   * Retrieve an AsyncTable implementation
for accessing a table.<a name="line.77"></a>
-<span class="sourceLineNo">078</span>   * &lt;p&gt;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>   * This method no longer checks table
existence. An exception will be thrown if the table does not<a name="line.79"></a>
-<span class="sourceLineNo">080</span>   * exist only when the first operation
is attempted.<a name="line.80"></a>
-<span class="sourceLineNo">081</span>   * @param tableName the name of the table<a
name="line.81"></a>
-<span class="sourceLineNo">082</span>   * @param pool the thread pool to use
for executing callback<a name="line.82"></a>
-<span class="sourceLineNo">083</span>   * @return an AsyncTable to use for interactions
with this table<a name="line.83"></a>
-<span class="sourceLineNo">084</span>   */<a name="line.84"></a>
-<span class="sourceLineNo">085</span>  default AsyncTable getTable(TableName
tableName, ExecutorService pool) {<a name="line.85"></a>
-<span class="sourceLineNo">086</span>    return getTableBuilder(tableName, pool).build();<a
name="line.86"></a>
-<span class="sourceLineNo">087</span>  }<a name="line.87"></a>
-<span class="sourceLineNo">088</span><a name="line.88"></a>
-<span class="sourceLineNo">089</span>  /**<a name="line.89"></a>
-<span class="sourceLineNo">090</span>   * Returns an {@link AsyncTableBuilder}
for creating {@link AsyncTable}.<a name="line.90"></a>
-<span class="sourceLineNo">091</span>   * &lt;p&gt;<a name="line.91"></a>
-<span class="sourceLineNo">092</span>   * This method no longer checks table
existence. An exception will be thrown if the table does not<a name="line.92"></a>
-<span class="sourceLineNo">093</span>   * exist only when the first operation
is attempted.<a name="line.93"></a>
-<span class="sourceLineNo">094</span>   * @param tableName the name of the table<a
name="line.94"></a>
-<span class="sourceLineNo">095</span>   * @param pool the thread pool to use
for executing callback<a name="line.95"></a>
-<span class="sourceLineNo">096</span>   */<a name="line.96"></a>
-<span class="sourceLineNo">097</span>  AsyncTableBuilder&lt;AsyncTable&gt;
getTableBuilder(TableName tableName, ExecutorService pool);<a name="line.97"></a>
-<span class="sourceLineNo">098</span><a name="line.98"></a>
-<span class="sourceLineNo">099</span>  /**<a name="line.99"></a>
-<span class="sourceLineNo">100</span>   * Retrieve an {@link AsyncAdmin} implementation
to administer an HBase cluster.<a name="line.100"></a>
-<span class="sourceLineNo">101</span>   * &lt;p&gt;<a name="line.101"></a>
-<span class="sourceLineNo">102</span>   * The returned instance will use default
configs. Use {@link #getAdminBuilder()} if you want to<a name="line.102"></a>
-<span class="sourceLineNo">103</span>   * customize some configs.<a name="line.103"></a>
-<span class="sourceLineNo">104</span>   * &lt;p&gt;<a name="line.104"></a>
-<span class="sourceLineNo">105</span>   * The admin operation's returned {@code
CompletableFuture} will be finished directly in the rpc<a name="line.105"></a>
-<span class="sourceLineNo">106</span>   * framework's callback thread, so typically
you should not do any time consuming work inside<a name="line.106"></a>
-<span class="sourceLineNo">107</span>   * these methods.<a name="line.107"></a>
-<span class="sourceLineNo">108</span>   * @return an {@link AsyncAdmin} instance
for cluster administration<a name="line.108"></a>
-<span class="sourceLineNo">109</span>   */<a name="line.109"></a>
-<span class="sourceLineNo">110</span>  default AsyncAdmin getAdmin() {<a name="line.110"></a>
-<span class="sourceLineNo">111</span>    return getAdminBuilder().build();<a
name="line.111"></a>
-<span class="sourceLineNo">112</span>  }<a name="line.112"></a>
-<span class="sourceLineNo">113</span><a name="line.113"></a>
-<span class="sourceLineNo">114</span>  /**<a name="line.114"></a>
-<span class="sourceLineNo">115</span>   * Returns an {@link AsyncAdminBuilder}
for creating {@link AsyncAdmin}.<a name="line.115"></a>
-<span class="sourceLineNo">116</span>   * &lt;p&gt;<a name="line.116"></a>
-<span class="sourceLineNo">117</span>   * The admin operation's returned {@code
CompletableFuture} will be finished directly in the rpc<a name="line.117"></a>
-<span class="sourceLineNo">118</span>   * framework's callback thread, so typically
you should not do any time consuming work inside<a name="line.118"></a>
-<span class="sourceLineNo">119</span>   * these methods.<a name="line.119"></a>
-<span class="sourceLineNo">120</span>   */<a name="line.120"></a>
-<span class="sourceLineNo">121</span>  AsyncAdminBuilder getAdminBuilder();<a
name="line.121"></a>
-<span class="sourceLineNo">122</span><a name="line.122"></a>
-<span class="sourceLineNo">123</span>  /**<a name="line.123"></a>
-<span class="sourceLineNo">124</span>   * Retrieve an {@link AsyncAdmin} implementation
to administer an HBase cluster.<a name="line.124"></a>
-<span class="sourceLineNo">125</span>   * &lt;p&gt;<a name="line.125"></a>
-<span class="sourceLineNo">126</span>   * The returned instance will use default
configs. Use {@link #getAdminBuilder(ExecutorService)}<a name="line.126"></a>
-<span class="sourceLineNo">127</span>   * if you want to customize some configs.<a
name="line.127"></a>
-<span class="sourceLineNo">128</span>   * @param pool the thread pool to use
for executing callback<a name="line.128"></a>
-<span class="sourceLineNo">129</span>   * @return an {@link AsyncAdmin} instance
for cluster administration<a name="line.129"></a>
-<span class="sourceLineNo">130</span>   */<a name="line.130"></a>
-<span class="sourceLineNo">131</span>  default AsyncAdmin getAdmin(ExecutorService
pool) {<a name="line.131"></a>
-<span class="sourceLineNo">132</span>    return getAdminBuilder(pool).build();<a
name="line.132"></a>
-<span class="sourceLineNo">133</span>  }<a name="line.133"></a>
-<span class="sourceLineNo">134</span><a name="line.134"></a>
-<span class="sourceLineNo">135</span>  /**<a name="line.135"></a>
-<span class="sourceLineNo">136</span>   * Returns an {@link AsyncAdminBuilder}
for creating {@link AsyncAdmin}.<a name="line.136"></a>
-<span class="sourceLineNo">137</span>   * @param pool the thread pool to use
for executing callback<a name="line.137"></a>
-<span class="sourceLineNo">138</span>   */<a name="line.138"></a>
-<span class="sourceLineNo">139</span>  AsyncAdminBuilder getAdminBuilder(ExecutorService
pool);<a name="line.139"></a>
-<span class="sourceLineNo">140</span><a name="line.140"></a>
-<span class="sourceLineNo">141</span>  /**<a name="line.141"></a>
-<span class="sourceLineNo">142</span>   * Retrieve an {@link AsyncBufferedMutator}
for performing client-side buffering of writes.<a name="line.142"></a>
-<span class="sourceLineNo">143</span>   * &lt;p&gt;<a name="line.143"></a>
-<span class="sourceLineNo">144</span>   * The returned instance will use default
configs. Use<a name="line.144"></a>
-<span class="sourceLineNo">145</span>   * {@link #getBufferedMutatorBuilder(TableName)}
if you want to customize some configs.<a name="line.145"></a>
-<span class="sourceLineNo">146</span>   * @param tableName the name of the table<a
name="line.146"></a>
-<span class="sourceLineNo">147</span>   * @return an {@link AsyncBufferedMutator}
for the supplied tableName.<a name="line.147"></a>
-<span class="sourceLineNo">148</span>   */<a name="line.148"></a>
-<span class="sourceLineNo">149</span>  default AsyncBufferedMutator getBufferedMutator(TableName
tableName) {<a name="line.149"></a>
-<span class="sourceLineNo">150</span>    return getBufferedMutatorBuilder(tableName).build();<a
name="line.150"></a>
-<span class="sourceLineNo">151</span>  }<a name="line.151"></a>
-<span class="sourceLineNo">152</span><a name="line.152"></a>
-<span class="sourceLineNo">153</span>  /**<a name="line.153"></a>
-<span class="sourceLineNo">154</span>   * Returns an {@link AsyncBufferedMutatorBuilder}
for creating {@link AsyncBufferedMutator}.<a name="line.154"></a>
-<span class="sourceLineNo">155</span>   * @param tableName the name of the table<a
name="line.155"></a>
-<span class="sourceLineNo">156</span>   */<a name="line.156"></a>
-<span class="sourceLineNo">157</span>  AsyncBufferedMutatorBuilder getBufferedMutatorBuilder(TableName
tableName);<a name="line.157"></a>
-<span class="sourceLineNo">158</span><a name="line.158"></a>
-<span class="sourceLineNo">159</span>  /**<a name="line.159"></a>
-<span class="sourceLineNo">160</span>   * Retrieve an {@link AsyncBufferedMutator}
for performing client-side buffering of writes.<a name="line.160"></a>
-<span class="sourceLineNo">161</span>   * &lt;p&gt;<a name="line.161"></a>
-<span class="sourceLineNo">162</span>   * The returned instance will use default
configs. Use<a name="line.162"></a>
-<span class="sourceLineNo">163</span>   * {@link #getBufferedMutatorBuilder(TableName,
ExecutorService)} if you want to customize some<a name="line.163"></a>
-<span class="sourceLineNo">164</span>   * configs.<a name="line.164"></a>
-<span class="sourceLineNo">165</span>   * @param tableName the name of the table<a
name="line.165"></a>
-<span class="sourceLineNo">166</span>   * @param pool the thread pool to use
for executing callback<a name="line.166"></a>
-<span class="sourceLineNo">167</span>   * @return an {@link AsyncBufferedMutator}
for the supplied tableName.<a name="line.167"></a>
-<span class="sourceLineNo">168</span>   */<a name="line.168"></a>
-<span class="sourceLineNo">169</span>  default AsyncBufferedMutator getBufferedMutator(TableName
tableName, ExecutorService pool) {<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    return getBufferedMutatorBuilder(tableName,
pool).build();<a name="line.170"></a>
-<span class="sourceLineNo">171</span>  }<a name="line.171"></a>
-<span class="sourceLineNo">172</span><a name="line.172"></a>
-<span class="sourceLineNo">173</span>  /**<a name="line.173"></a>
-<span class="sourceLineNo">174</span>   * Returns an {@link AsyncBufferedMutatorBuilder}
for creating {@link AsyncBufferedMutator}.<a name="line.174"></a>
-<span class="sourceLineNo">175</span>   * @param tableName the name of the table<a
name="line.175"></a>
-<span class="sourceLineNo">176</span>   * @param pool the thread pool to use
for executing callback<a name="line.176"></a>
-<span class="sourceLineNo">177</span>   */<a name="line.177"></a>
-<span class="sourceLineNo">178</span>  AsyncBufferedMutatorBuilder getBufferedMutatorBuilder(TableName
tableName, ExecutorService pool);<a name="line.178"></a>
-<span class="sourceLineNo">179</span>}<a name="line.179"></a>
+<span class="sourceLineNo">059</span>   * &lt;p&gt;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>   * The returned {@code CompletableFuture}
will be finished directly in the rpc framework's<a name="line.60"></a>
+<span class="sourceLineNo">061</span>   * callback thread, so typically you should
not do any time consuming work inside these methods.<a name="line.61"></a>
+<span class="sourceLineNo">062</span>   * And also the observer style scan API
will use {@link AdvancedScanResultConsumer} which is<a name="line.62"></a>
+<span class="sourceLineNo">063</span>   * designed for experts only. Only use
it when you know what you are doing.<a name="line.63"></a>
+<span class="sourceLineNo">064</span>   * @param tableName the name of the table<a
name="line.64"></a>
+<span class="sourceLineNo">065</span>   * @return an AsyncTable to use for interactions
with this table<a name="line.65"></a>
+<span class="sourceLineNo">066</span>   * @see #getTableBuilder(TableName)<a
name="line.66"></a>
+<span class="sourceLineNo">067</span>   */<a name="line.67"></a>
+<span class="sourceLineNo">068</span>  default AsyncTable&lt;AdvancedScanResultConsumer&gt;
getTable(TableName tableName) {<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    return getTableBuilder(tableName).build();<a
name="line.69"></a>
+<span class="sourceLineNo">070</span>  }<a name="line.70"></a>
+<span class="sourceLineNo">071</span><a name="line.71"></a>
+<span class="sourceLineNo">072</span>  /**<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   * Returns an {@link AsyncTableBuilder}
for creating {@link AsyncTable}.<a name="line.73"></a>
+<span class="sourceLineNo">074</span>   * &lt;p&gt;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   * This method no longer checks table
existence. An exception will be thrown if the table does not<a name="line.75"></a>
+<span class="sourceLineNo">076</span>   * exist only when the first operation
is attempted.<a name="line.76"></a>
+<span class="sourceLineNo">077</span>   * @param tableName the name of the table<a
name="line.77"></a>
+<span class="sourceLineNo">078</span>   */<a name="line.78"></a>
+<span class="sourceLineNo">079</span>  AsyncTableBuilder&lt;AdvancedScanResultConsumer&gt;
getTableBuilder(TableName tableName);<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span>  /**<a name="line.81"></a>
+<span class="sourceLineNo">082</span>   * Retrieve an {@link AsyncTable} implementation
for accessing a table.<a name="line.82"></a>
+<span class="sourceLineNo">083</span>   * &lt;p&gt;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>   * This method no longer checks table
existence. An exception will be thrown if the table does not<a name="line.84"></a>
+<span class="sourceLineNo">085</span>   * exist only when the first operation
is attempted.<a name="line.85"></a>
+<span class="sourceLineNo">086</span>   * @param tableName the name of the table<a
name="line.86"></a>
+<span class="sourceLineNo">087</span>   * @param pool the thread pool to use
for executing callback<a name="line.87"></a>
+<span class="sourceLineNo">088</span>   * @return an AsyncTable to use for interactions
with this table<a name="line.88"></a>
+<span class="sourceLineNo">089</span>   */<a name="line.89"></a>
+<span class="sourceLineNo">090</span>  default AsyncTable&lt;ScanResultConsumer&gt;
getTable(TableName tableName, ExecutorService pool) {<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    return getTableBuilder(tableName, pool).build();<a
name="line.91"></a>
+<span class="sourceLineNo">092</span>  }<a name="line.92"></a>
+<span class="sourceLineNo">093</span><a name="line.93"></a>
+<span class="sourceLineNo">094</span>  /**<a name="line.94"></a>
+<span class="sourceLineNo">095</span>   * Returns an {@link AsyncTableBuilder}
for creating {@link AsyncTable}.<a name="line.95"></a>
+<span class="sourceLineNo">096</span>   * &lt;p&gt;<a name="line.96"></a>
+<span class="sourceLineNo">097</span>   * This method no longer checks table
existence. An exception will be thrown if the table does not<a name="line.97"></a>
+<span class="sourceLineNo">098</span>   * exist only when the first operation
is attempted.<a name="line.98"></a>
+<span class="sourceLineNo">099</span>   * @param tableName the name of the table<a
name="line.99"></a>
+<span class="sourceLineNo">100</span>   * @param pool the thread pool to use
for executing callback<a name="line.100"></a>
+<span class="sourceLineNo">101</span>   */<a name="line.101"></a>
+<span class="sourceLineNo">102</span>  AsyncTableBuilder&lt;ScanResultConsumer&gt;
getTableBuilder(TableName tableName, ExecutorService pool);<a name="line.102"></a>
+<span class="sourceLineNo">103</span><a name="line.103"></a>
+<span class="sourceLineNo">104</span>  /**<a name="line.104"></a>
+<span class="sourceLineNo">105</span>   * Retrieve an {@link AsyncAdmin} implementation
to administer an HBase cluster.<a name="line.105"></a>
+<span class="sourceLineNo">106</span>   * &lt;p&gt;<a name="line.106"></a>
+<span class="sourceLineNo">107</span>   * The returned instance will use default
configs. Use {@link #getAdminBuilder()} if you want to<a name="line.107"></a>
+<span class="sourceLineNo">108</span>   * customize some configs.<a name="line.108"></a>
+<span class="sourceLineNo">109</span>   * &lt;p&gt;<a name="line.109"></a>
+<span class="sourceLineNo">110</span>   * The admin operation's returned {@code
CompletableFuture} will be finished directly in the rpc<a name="line.110"></a>
+<span class="sourceLineNo">111</span>   * framework's callback thread, so typically
you should not do any time consuming work inside<a name="line.111"></a>
+<span class="sourceLineNo">112</span>   * these methods.<a name="line.112"></a>
+<span class="sourceLineNo">113</span>   * @return an {@link AsyncAdmin} instance
for cluster administration<a name="line.113"></a>
+<span class="sourceLineNo">114</span>   */<a name="line.114"></a>
+<span class="sourceLineNo">115</span>  default AsyncAdmin getAdmin() {<a name="line.115"></a>
+<span class="sourceLineNo">116</span>    return getAdminBuilder().build();<a
name="line.116"></a>
+<span class="sourceLineNo">117</span>  }<a name="line.117"></a>
+<span class="sourceLineNo">118</span><a name="line.118"></a>
+<span class="sourceLineNo">119</span>  /**<a name="line.119"></a>
+<span class="sourceLineNo">120</span>   * Returns an {@link AsyncAdminBuilder}
for creating {@link AsyncAdmin}.<a name="line.120"></a>
+<span class="sourceLineNo">121</span>   * &lt;p&gt;<a name="line.121"></a>
+<span class="sourceLineNo">122</span>   * The admin operation's returned {@code
CompletableFuture} will be finished directly in the rpc<a name="line.122"></a>
+<span class="sourceLineNo">123</span>   * framework's callback thread, so typically
you should not do any time consuming work inside<a name="line.123"></a>
+<span class="sourceLineNo">124</span>   * these methods.<a name="line.124"></a>
+<span class="sourceLineNo">125</span>   */<a name="line.125"></a>
+<span class="sourceLineNo">126</span>  AsyncAdminBuilder getAdminBuilder();<a
name="line.126"></a>
+<span class="sourceLineNo">127</span><a name="line.127"></a>
+<span class="sourceLineNo">128</span>  /**<a name="line.128"></a>
+<span class="sourceLineNo">129</span>   * Retrieve an {@link AsyncAdmin} implementation
to administer an HBase cluster.<a name="line.129"></a>
+<span class="sourceLineNo">130</span>   * &lt;p&gt;<a name="line.130"></a>
+<span class="sourceLineNo">131</span>   * The returned instance will use default
configs. Use {@link #getAdminBuilder(ExecutorService)}<a name="line.131"></a>
+<span class="sourceLineNo">132</span>   * if you want to customize some configs.<a
name="line.132"></a>
+<span class="sourceLineNo">133</span>   * @param pool the thread pool to use
for executing callback<a name="line.133"></a>
+<span class="sourceLineNo">134</span>   * @return an {@link AsyncAdmin} instance
for cluster administration<a name="line.134"></a>
+<span class="sourceLineNo">135</span>   */<a name="line.135"></a>
+<span class="sourceLineNo">136</span>  default AsyncAdmin getAdmin(ExecutorService
pool) {<a name="line.136"></a>
+<span class="sourceLineNo">137</span>    return getAdminBuilder(pool).build();<a
name="line.137"></a>
+<span class="sourceLineNo">138</span>  }<a name="line.138"></a>
+<span class="sourceLineNo">139</span><a name="line.139"></a>
+<span class="sourceLineNo">140</span>  /**<a name="line.140"></a>
+<span class="sourceLineNo">141</span>   * Returns an {@link AsyncAdminBuilder}
for creating {@link AsyncAdmin}.<a name="line.141"></a>
+<span class="sourceLineNo">142</span>   * @param pool the thread pool to use
for executing callback<a name="line.142"></a>
+<span class="sourceLineNo">143</span>   */<a name="line.143"></a>
+<span class="sourceLineNo">144</span>  AsyncAdminBuilder getAdminBuilder(ExecutorService
pool);<a name="line.144"></a>
+<span class="sourceLineNo">145</span><a name="line.145"></a>
+<span class="sourceLineNo">146</span>  /**<a name="line.146"></a>
+<span class="sourceLineNo">147</span>   * Retrieve an {@link AsyncBufferedMutator}
for performing client-side buffering of writes.<a name="line.147"></a>
+<span class="sourceLineNo">148</span>   * &lt;p&gt;<a name="line.148"></a>
+<span class="sourceLineNo">149</span>   * The returned instance will use default
configs. Use<a name="line.149"></a>
+<span class="sourceLineNo">150</span>   * {@link #getBufferedMutatorBuilder(TableName)}
if you want to customize some configs.<a name="line.150"></a>
+<span class="sourceLineNo">151</span>   * @param tableName the name of the table<a
name="line.151"></a>
+<span class="sourceLineNo">152</span>   * @return an {@link AsyncBufferedMutator}
for the supplied tableName.<a name="line.152"></a>
+<span class="sourceLineNo">153</span>   */<a name="line.153"></a>
+<span class="sourceLineNo">154</span>  default AsyncBufferedMutator getBufferedMutator(TableName
tableName) {<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    return getBufferedMutatorBuilder(tableName).build();<a
name="line.155"></a>
+<span class="sourceLineNo">156</span>  }<a name="line.156"></a>
+<span class="sourceLineNo">157</span><a name="line.157"></a>
+<span class="sourceLineNo">158</span>  /**<a name="line.158"></a>
+<span class="sourceLineNo">159</span>   * Returns an {@link AsyncBufferedMutatorBuilder}
for creating {@link AsyncBufferedMutator}.<a name="line.159"></a>
+<span class="sourceLineNo">160</span>   * @param tableName the name of the table<a
name="line.160"></a>
+<span class="sourceLineNo">161</span>   */<a name="line.161"></a>
+<span class="sourceLineNo">162</span>  AsyncBufferedMutatorBuilder getBufferedMutatorBuilder(TableName
tableName);<a name="line.162"></a>
+<span class="sourceLineNo">163</span><a name="line.163"></a>
+<span class="sourceLineNo">164</span>  /**<a name="line.164"></a>
+<span class="sourceLineNo">165</span>   * Retrieve an {@link AsyncBufferedMutator}
for performing client-side buffering of writes.<a name="line.165"></a>
+<span class="sourceLineNo">166</span>   * &lt;p&gt;<a name="line.166"></a>
+<span class="sourceLineNo">167</span>   * The returned instance will use default
configs. Use<a name="line.167"></a>
+<span class="sourceLineNo">168</span>   * {@link #getBufferedMutatorBuilder(TableName,
ExecutorService)} if you want to customize some<a name="line.168"></a>
+<span class="sourceLineNo">169</span>   * configs.<a name="line.169"></a>
+<span class="sourceLineNo">170</span>   * @param tableName the name of the table<a
name="line.170"></a>
+<span class="sourceLineNo">171</span>   * @param pool the thread pool to use
for executing callback<a name="line.171"></a>
+<span class="sourceLineNo">172</span>   * @return an {@link AsyncBufferedMutator}
for the supplied tableName.<a name="line.172"></a>
+<span class="sourceLineNo">173</span>   */<a name="line.173"></a>
+<span class="sourceLineNo">174</span>  default AsyncBufferedMutator getBufferedMutator(TableName
tableName, ExecutorService pool) {<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    return getBufferedMutatorBuilder(tableName,
pool).build();<a name="line.175"></a>
+<span class="sourceLineNo">176</span>  }<a name="line.176"></a>
+<span class="sourceLineNo">177</span><a name="line.177"></a>
+<span class="sourceLineNo">178</span>  /**<a name="line.178"></a>
+<span class="sourceLineNo">179</span>   * Returns an {@link AsyncBufferedMutatorBuilder}
for creating {@link AsyncBufferedMutator}.<a name="line.179"></a>
+<span class="sourceLineNo">180</span>   * @param tableName the name of the table<a
name="line.180"></a>
+<span class="sourceLineNo">181</span>   * @param pool the thread pool to use
for executing callback<a name="line.181"></a>
+<span class="sourceLineNo">182</span>   */<a name="line.182"></a>
+<span class="sourceLineNo">183</span>  AsyncBufferedMutatorBuilder getBufferedMutatorBuilder(TableName
tableName, ExecutorService pool);<a name="line.183"></a>
+<span class="sourceLineNo">184</span>}<a name="line.184"></a>
 
 
 


Mime
View raw message