private void assertCompactionTimeStatOnVm(final VM vm, final long compactionTime,
      final ASSERT_OP op) {
    vm.invoke(() -> assertCompactionTimeStat(compactionTime, op));
  }
Asserts that the compactionTime stat is available and satisfies an assert operation.

@param vm a virtual machine.
@param compactionTime total off heap compaction time.
@param op an assert operation.
geode-core/src/distributedTest/java/org/apache/geode/management/OffHeapManagementDUnitTest.java