@InterfaceAudience.Public @InterfaceStability.Evolving public class HTableMultiplexer extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
HTableMultiplexer.HTableMultiplexerStatus
HTableMultiplexerStatus keeps track of the current status of the HTableMultiplexer.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
TABLE_MULTIPLEXER_FLUSH_PERIOD_MS |
static String |
TABLE_MULTIPLEXER_INIT_THREADS |
static String |
TABLE_MULTIPLEXER_MAX_RETRIES_IN_QUEUE |
| 构造器和说明 |
|---|
HTableMultiplexer(org.apache.hadoop.conf.Configuration conf,
int perRegionServerBufferQueueSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
HTableMultiplexer.HTableMultiplexerStatus |
getHTableMultiplexerStatus() |
List<Put> |
put(byte[] tableName,
List<Put> puts)
已过时。
|
boolean |
put(byte[] tableName,
Put put)
已过时。
|
boolean |
put(byte[] tableName,
Put put,
int retry)
已过时。
|
List<Put> |
put(org.apache.hadoop.hbase.TableName tableName,
List<Put> puts)
The puts request will be buffered by their corresponding buffer queue.
|
boolean |
put(org.apache.hadoop.hbase.TableName tableName,
Put put)
The put request will be buffered by its corresponding buffer queue.
|
boolean |
put(org.apache.hadoop.hbase.TableName tableName,
Put put,
int retry)
The put request will be buffered by its corresponding buffer queue.
|
public static final String TABLE_MULTIPLEXER_FLUSH_PERIOD_MS
public HTableMultiplexer(org.apache.hadoop.conf.Configuration conf,
int perRegionServerBufferQueueSize)
throws IOException
conf - The HBaseConfigurationperRegionServerBufferQueueSize - determines the max number of the buffered Put ops for
each region server before dropping the request.IOExceptionpublic boolean put(org.apache.hadoop.hbase.TableName tableName,
Put put)
tableName - put - IOExceptionpublic List<Put> put(org.apache.hadoop.hbase.TableName tableName, List<Put> puts)
tableName - puts - IOException@Deprecated public List<Put> put(byte[] tableName, List<Put> puts)
put(TableName, List) instead.public boolean put(org.apache.hadoop.hbase.TableName tableName,
Put put,
int retry)
IOException@Deprecated public boolean put(byte[] tableName, Put put, int retry)
put(TableName, Put) instead.@Deprecated public boolean put(byte[] tableName, Put put)
put(TableName, Put) instead.public HTableMultiplexer.HTableMultiplexerStatus getHTableMultiplexerStatus()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.