public boolean waitForElder(final InternalDistributedMember desiredElder)
      throws InterruptedException {

    return clusterElderManager.waitForElder(desiredElder);
  }
Waits until elder if newElder or newElder is no longer a member

@return true if newElder is the elder; false if it is no longer a member or we are the elder.
geode-core/src/main/java/org/apache/geode/distributed/internal/ClusterDistributionManager.java