Package | Description |
---|---|
org.apache.hadoop.hbase.quotas |
Modifier and Type | Class and Description |
---|---|
class |
RegionSizeImpl
An object encapsulating a Region's size and whether it's been reported to the master since
the value last changed.
|
Modifier and Type | Field and Description |
---|---|
private ConcurrentHashMap<RegionInfo,RegionSize> |
RegionSizeStoreImpl.store |
Modifier and Type | Method and Description |
---|---|
RegionSize |
RegionSizeStore.getRegionSize(RegionInfo regionInfo)
Returns the size for the give region if one exists.
|
RegionSize |
RegionSizeStoreImpl.getRegionSize(RegionInfo regionInfo) |
RegionSize |
NoOpRegionSizeStore.getRegionSize(RegionInfo regionInfo) |
RegionSize |
RegionSize.incrementSize(long delta)
Atomically adds the provided
delta to the region size. |
RegionSize |
RegionSizeStore.remove(RegionInfo regionInfo)
Removes the mapping for the given key, returning the value if one exists in the store.
|
RegionSize |
RegionSizeStoreImpl.remove(RegionInfo regionInfo) |
RegionSize |
NoOpRegionSizeStore.remove(RegionInfo regionInfo) |
RegionSize |
RegionSize.setSize(long newSize)
Updates the size of the Region.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Map.Entry<RegionInfo,RegionSize>> |
RegionSizeStoreImpl.iterator() |
Iterator<Map.Entry<RegionInfo,RegionSize>> |
NoOpRegionSizeStore.iterator() |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.