public Semaphore getVolunteeringSemaphore() {
    return volunteeringSemaphore;
  }
Returns the {@link #volunteeringSemaphore} for controlling the number of threads that this PR's
BucketAdvisors are allowed to use for volunteering to be primary.

@return the semaphore for controlling number of volunteering threads
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/RegionAdvisor.java