@Override
    public ReturnCode filterCell(final Cell ignored) {
      visitedKeyValues.add(ignored);
      return ReturnCode.INCLUDE;
    }
Filter which gives the list of keyvalues for which the filter is invoked.
hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestInvocationRecordFilter.java