@InterfaceAudience.Private public class RegionSizeImpl extends Object implements RegionSize
构造器和说明 |
---|
RegionSizeImpl(long initialSize) |
限定符和类型 | 方法和说明 |
---|---|
long |
getSize()
Returns the size of the region.
|
long |
heapSize() |
RegionSizeImpl |
incrementSize(long delta)
Atomically adds the provided
delta to the region size. |
RegionSizeImpl |
setSize(long newSize)
Updates the size of the Region.
|
public RegionSizeImpl setSize(long newSize)
RegionSize
setSize
在接口中 RegionSize
newSize
- the new size of the Regionthis
public RegionSizeImpl incrementSize(long delta)
RegionSize
delta
to the region size.incrementSize
在接口中 RegionSize
delta
- The change in size in bytes of the region.this
public long getSize()
RegionSize
getSize
在接口中 RegionSize
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.