algoliasearch/src/main/java/com/algolia/search/saas/Index.java
public Request clearIndexAsync(@Nullable final RequestOptions requestOptions, @Nullable CompletionHandler completionHandler) {
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override protected JSONObject run() throws AlgoliaException {
                return clearIndex(requestOptions);
            }
        }.start();
    }
public Request clearIndexAsync(@Nullable final RequestOptions requestOptions, @Nullable CompletionHandler completionHandler) {
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override protected JSONObject run() throws AlgoliaException {
                return clearIndex(requestOptions);
            }
        }.start();
    }
public Request clearIndexAsync ( @ Nullable final RequestOptions requestOptions , @ Nullable CompletionHandler completionHandler ) { return getClient ( ) . new AsyncTaskRequest ( completionHandler ) { @ NonNull @ Override protected JSONObject run ( ) throws AlgoliaException { return clearIndex ( requestOptions ) ; } } . start ( ) ; }
Clear this index.

@param requestOptions    Request-specific options.
@param completionHandler The listener that will be notified of the request's outcome.
@return A cancellable request.
Clear this index .