private boolean setVolunteering() {
    synchronized (this) {
      return requestPrimaryState(VOLUNTEERING_HOSTING);
    }
  }
Sets volunteering to true. Returns true if the state of volunteering was changed. Returns false
if voluntering was already equal to true. Caller should do nothing if false is returned.
geode-core/src/main/java/org/apache/geode/internal/cache/BucketAdvisor.java