@InterfaceAudience.Private public class IncreasingToUpperBoundRegionSplitPolicy extends ConstantSizeRegionSplitPolicy
region| Constructor and Description |
|---|
IncreasingToUpperBoundRegionSplitPolicy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureForRegion(HRegion region)
Upon construction, this method will be called with the region
to be governed.
|
protected long |
getSizeToCheck(int tableRegionsCount) |
protected boolean |
shouldSplit() |
create, getSplitPointpublic IncreasingToUpperBoundRegionSplitPolicy()
protected void configureForRegion(HRegion region)
RegionSplitPolicyconfigureForRegion in class ConstantSizeRegionSplitPolicyprotected boolean shouldSplit()
shouldSplit in class ConstantSizeRegionSplitPolicyprotected long getSizeToCheck(int tableRegionsCount)
count of regions squared * flushsize, which ever is
smaller; guard against there being zero regions on this server.Copyright © 2014 The Apache Software Foundation. All rights reserved.