@Override
  public void setShutdown() {
    latestViewWriteLock.lock();
    shutdownInProgress = true;
    latestViewWriteLock.unlock();
  }
This method holds the {@link #latestViewWriteLock} to protect
{@link #shutdownInProgress} from modification while {@link #processView} is in progress.
geode-membership/src/main/java/org/apache/geode/distributed/internal/membership/gms/GMSMembership.java