|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.regionserver.StripeStoreConfig
@InterfaceAudience.Private public class StripeStoreConfig
Configuration class for stripe store and compactions.
See StripeStoreFileManager
for general documentation.
See getters for the description of each setting.
Field Summary | |
---|---|
static String |
FLUSH_TO_L0_KEY
Whether to flush memstore to L0 files, or directly to stripes. |
static String |
INITIAL_STRIPE_COUNT_KEY
The initial stripe count to create. |
static String |
MAX_FILES_KEY
The maximum number of files to compact within a stripe; same as for regular compaction. |
static String |
MAX_REGION_SPLIT_IMBALANCE_KEY
When splitting region, the maximum size imbalance to allow in an attempt to split at a stripe boundary, so that no files go to both regions. |
static String |
MIN_FILES_KEY
The minimum number of files to compact within a stripe; same as for regular compaction. |
static String |
MIN_FILES_L0_KEY
The minimum number of files to compact when compacting L0; same as minFiles for regular compaction. |
static String |
SIZE_TO_SPLIT_KEY
The size the stripe should achieve to be considered for splitting into multiple stripes. |
static String |
SPLIT_PARTS_KEY
The target count of new stripes to produce when splitting a stripe. |
Constructor Summary | |
---|---|
StripeStoreConfig(org.apache.hadoop.conf.Configuration config,
StoreConfigInformation sci)
|
Method Summary | |
---|---|
int |
getInitialCount()
|
int |
getLevel0MinFiles()
|
float |
getMaxSplitImbalance()
|
float |
getSplitCount()
|
long |
getSplitPartSize()
|
long |
getSplitSize()
|
int |
getStripeCompactMaxFiles()
|
int |
getStripeCompactMinFiles()
|
boolean |
isUsingL0Flush()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MAX_FILES_KEY
public static final String MIN_FILES_KEY
public static final String MIN_FILES_L0_KEY
public static final String SIZE_TO_SPLIT_KEY
public static final String SPLIT_PARTS_KEY
public static final String INITIAL_STRIPE_COUNT_KEY
public static final String FLUSH_TO_L0_KEY
public static final String MAX_REGION_SPLIT_IMBALANCE_KEY
Constructor Detail |
---|
public StripeStoreConfig(org.apache.hadoop.conf.Configuration config, StoreConfigInformation sci)
Method Detail |
---|
public float getMaxSplitImbalance()
public int getLevel0MinFiles()
public int getStripeCompactMinFiles()
public int getStripeCompactMaxFiles()
public boolean isUsingL0Flush()
public long getSplitSize()
public int getInitialCount()
public float getSplitCount()
public long getSplitPartSize()
getSplitSize()
and getSplitCount()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |