public void clearHistory() {
    gfshHistory.clear();
    if (!gfshConfig.deleteHistoryFile()) {
      printAsWarning("Gfsh history file is not deleted");
    }
  }
@param operationInvoker the operationInvoker to set
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/shell/Gfsh.java