@Override
  public void clear() {
    synchronized (lock) {
      Arrays.fill(elementData, null);
      size = 0;
    }
  }
Removes all of the elements from this list. The list will be empty after this call returns.
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/IndexElemArray.java