@Override
    public int sizeof(Object o) {
      logger.info("TestObjectSizer invoked");
      if (o instanceof TestDelta) {
        invocations.incrementAndGet();
        return ((TestDelta) o).info.length();
      }
      if (o instanceof Integer) {
        return 0;
      }
      throw new RuntimeException("Unexpected type to be sized " + o.getClass() + ", object=" + o);
    }
Tests the use of the per-delta "forceRecalculateSize" flag.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/DeltaForceSizingFlagDUnitTest.java