public MemoryMonitor getMemoryMonitor(boolean offheap) {
    if (offheap) {
      return getOffHeapMonitor();
    } else {
      return getHeapMonitor();
    }
  }
Deliver an event received from remote resource managers to the local listeners.

@param event Event to deliver.
geode-core/src/main/java/org/apache/geode/internal/cache/control/InternalResourceManager.java