@Override
  public void clearResults() {
    resultList.clear();
  }
GemFire will invoke this method before re-executing function (in case of Function Execution HA)
This is to clear the previous execution results from the result collector
geode-core/src/main/java/org/apache/geode/internal/cache/execute/DefaultResultCollector.java