@InterfaceAudience.Private public interface RegionSize extends HeapSize
Modifier and Type | Method and Description |
---|---|
long |
getSize()
Returns the size of the region.
|
RegionSize |
incrementSize(long delta)
Atomically adds the provided
delta to the region size. |
RegionSize |
setSize(long newSize)
Updates the size of the Region.
|
RegionSize setSize(long newSize)
newSize
- the new size of the Regionthis
RegionSize incrementSize(long delta)
delta
to the region size.delta
- The change in size in bytes of the region.this
long getSize()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.