Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -432,14 +432,14 @@ private boolean refreshStoreFilesAndReclaimMemory(Region region) {
}

/**
* 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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ public void decGlobalMemStoreSize(long dataSizeDelta, long heapSizeDelta, long o
}

/**
* 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
Expand Down Expand Up @@ -193,7 +193,8 @@ public FlushType isAboveHighWaterMark() {
}

/**
* 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
Expand Down