public void setHasRegisteredInterest(boolean flag) {
    boolean old = hasRegisteredInterest;
    hasRegisteredInterest = flag;
    if (old != flag) {
      region.sendProfileUpdate();
    }
  }
set whether this queue has had interest registered for it
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java