protected static String arrayToString(int[] a) {
    StringBuilder buf = new StringBuilder();
    buf.append("[");
    for (int i = 0; i < a.length; i++) {
      buf.append(a[i]);
      if (i < (a.length - 1)) {
        buf.append(",");
      }
    }
    buf.append("]");
    return buf.toString();
  }
Overridden to wait for messages being currently processed: This situation can come about if a
member departs while we are still processing data from that member
geode-core/src/main/java/org/apache/geode/internal/cache/InitialImageOperation.java