Class RegionReplicationBufferManager

java.lang.Object
org.apache.hadoop.hbase.regionserver.regionreplication.RegionReplicationBufferManager

@Private public class RegionReplicationBufferManager extends Object
Manager the buffer size for all RegionReplicationSink.

If the buffer size exceeds the soft limit, we will find out the region with largest pending size and trigger a flush, so it can drop all the pending entries and save memories.

If the buffer size exceeds the hard limit, we will return false for increase(long) and let the RegionReplicationSink to drop the edits immediately.