@InterfaceAudience.Private
  public void setFilterEmptyEntry(final boolean filterEmptyEntry) {
    this.filterEmptyEntry = filterEmptyEntry;
  }
To allow the empty entries to get filtered, we want to set this optional flag to decide if we
want to filter the entries which have no cells or all cells got filtered though
{@link WALCellFilter}.
@param filterEmptyEntry flag
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/ChainWALEmptyEntryFilter.java