@InterfaceAudience.Public @InterfaceStability.Evolving public class HTableMultiplexer extends Object
| Constructor and Description |
|---|
HTableMultiplexer(org.apache.hadoop.conf.Configuration conf,
int perRegionServerBufferQueueSize) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hbase.client.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(TableName tableName,
List<Put> puts)
The puts request will be buffered by their corresponding buffer queue.
|
boolean |
put(TableName tableName,
Put put)
The put request will be buffered by its corresponding buffer queue.
|
boolean |
put(TableName tableName,
Put put,
int retry)
The put request will be buffered by its corresponding buffer queue.
|
public HTableMultiplexer(org.apache.hadoop.conf.Configuration conf,
int perRegionServerBufferQueueSize)
throws ZooKeeperConnectionException
conf - The HBaseConfigurationperRegionServerBufferQueueSize - determines the max number of the buffered Put ops
for each region server before dropping the request.ZooKeeperConnectionExceptionpublic boolean put(TableName tableName, Put put) throws IOException
tableName - put - IOExceptionpublic boolean put(byte[] tableName,
Put put)
throws IOException
IOExceptionpublic List<Put> put(TableName tableName, List<Put> puts) throws IOException
tableName - puts - IOExceptionpublic List<Put> put(byte[] tableName, List<Put> puts) throws IOException
IOExceptionpublic boolean put(TableName tableName, Put put, int retry) throws IOException
tableName - put - retry - IOExceptionpublic boolean put(byte[] tableName,
Put put,
int retry)
throws IOException
IOExceptionpublic org.apache.hadoop.hbase.client.HTableMultiplexer.HTableMultiplexerStatus getHTableMultiplexerStatus()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.