org.apache.hadoop.hbase.client
Class TableConfiguration
java.lang.Object
org.apache.hadoop.hbase.client.TableConfiguration
@InterfaceAudience.Private
public class TableConfiguration
- extends Object
Configuration is a heavy weight registry that does a lot of string operations and regex matching.
Method calls into Configuration account for high CPU usage and have huge performance impact.
This class caches the value in the TableConfiguration object to improve performance.
see HBASE-12128
Constructor Summary |
protected |
TableConfiguration()
Constructor
This is for internal testing purpose (using the default value). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableConfiguration
protected TableConfiguration()
- Constructor
This is for internal testing purpose (using the default value).
In real usage, we should read the configuration from the Configuration object.
getWriteBufferSize
public long getWriteBufferSize()
getMetaOperationTimeout
public int getMetaOperationTimeout()
getOperationTimeout
public int getOperationTimeout()
getScannerCaching
public int getScannerCaching()
getScannerMaxResultSize
public long getScannerMaxResultSize()
getRetriesNumber
public int getRetriesNumber()
getMaxKeyValueSize
public int getMaxKeyValueSize()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.