HBASE-27117 Update the method comments for RegionServerAccounting (#4532)
This commit is contained in:
parent
591fda9fe4
commit
fa1b3eed99
|
@ -428,14 +428,14 @@ public class MemStoreFlusher implements FlushRequester {
|
|||
}
|
||||
|
||||
/**
|
||||
* Return true if global memory usage is above the high watermark
|
||||
* Return the FlushType if global memory usage is above the high watermark
|
||||
*/
|
||||
private FlushType isAboveHighWaterMark() {
|
||||
return server.getRegionServerAccounting().isAboveHighWaterMark();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if we're above the low watermark
|
||||
* Return the FlushType if we're above the low watermark
|
||||
*/
|
||||
private FlushType isAboveLowWaterMark() {
|
||||
return server.getRegionServerAccounting().isAboveLowWaterMark();
|
||||
|
|
|
@ -161,8 +161,8 @@ public class RegionServerAccounting {
|
|||
}
|
||||
|
||||
/**
|
||||
* Return true if we are above the memstore high water mark
|
||||
* @return the flushtype
|
||||
* Return the FlushType if we are above the memstore high water mark
|
||||
* @return the FlushType
|
||||
*/
|
||||
public FlushType isAboveHighWaterMark() {
|
||||
// for onheap memstore we check if the global memstore size and the
|
||||
|
@ -193,7 +193,8 @@ public class RegionServerAccounting {
|
|||
}
|
||||
|
||||
/**
|
||||
* Return true if we're above the low watermark
|
||||
* Return the FlushType if we're above the low watermark
|
||||
* @return the FlushType
|
||||
*/
|
||||
public FlushType isAboveLowWaterMark() {
|
||||
// for onheap memstore we check if the global memstore size and the
|
||||
|
|
Loading…
Reference in New Issue