@Override
  public boolean postScannerNext(final ObserverContext<? extends RegionCoprocessorEnvironment> c,
    final InternalScanner s, final List<Result> results, final int limit, final boolean hasMore)
    throws IOException {
    ctPostScannerNext.incrementAndGet();
    return hasMore;
  }
A sample region observer that tests the RegionObserver interface. It works with
TestRegionObserverInterface to provide the test case.
hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/SimpleRegionObserver.java