public void setInhibitDistribution(boolean b) {
    setEventFlag(EventFlags.FLAG_INHIBIT_DISTRIBUTION, b);
  }
get the flag telling whether callbacks should be invoked for a partitioned region
geode-core/src/main/java/org/apache/geode/internal/cache/EntryEventImpl.java