@Override
  public boolean add(Object e) {
    synchronized (lock) {
      int currentSize = size(); // byte to int
      ensureCapacity(currentSize + 1);
      elementData[currentSize] = e;
      currentSize++;
      setSize(currentSize);
    }
    return true;
  }
Appends the specified element to the end of this array. If the array is full, creates a new
array with new capacity = old capacity + 5

@param e element to be appended to this list
@return <tt>true</tt> (as specified by {@link Collection#add})
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/IndexElemArray.java