@Override
  public Set<RebalanceOperation> getRebalanceOperations() {
    return Collections.unmodifiableSet(inProgressRebalanceOperations.keySet());
  }
Use threshold event processor to execute the event embedded in the runnable.

@param runnable Runnable to execute.
geode-core/src/main/java/org/apache/geode/internal/cache/control/InternalResourceManager.java