private boolean checkAsyncItemLimit() {
    return getAsyncQueue().size() >= maxAsyncItems;
  }
Return true if we have enough async items to do a flush
geode-core/src/main/java/org/apache/geode/internal/cache/DiskStoreImpl.java