algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java
public Request multipleQueriesOfflineAsync(final @NonNull List<Query> queries, final Client.MultipleQueriesStrategy strategy, @NonNull CompletionHandler completionHandler) {
        if (!mirrored) {
            throw new IllegalStateException("Offline requests are only available when the index is mirrored");
        }
        final List<Query> queriesCopy = new ArrayList<>(queries.size());
        for (Query query: queries) {
            queriesCopy.add(new Query(query));
        }
        return getClient().new AsyncTaskRequest(completionHandler, getClient().localSearchExecutorService) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return _multipleQueriesOffline(queriesCopy, strategy == null ? null : strategy.toString());
            }
        }.start();
    }
public Request multipleQueriesOfflineAsync(final @NonNull List<Query> queries, final Client.MultipleQueriesStrategy strategy, @NonNull CompletionHandler completionHandler) {
        if (!mirrored) {
            throw new IllegalStateException("Offline requests are only available when the index is mirrored");
        }
        final List<Query> queriesCopy = new ArrayList<>(queries.size());
        for (Query query: queries) {
            queriesCopy.add(new Query(query));
        }
        return getClient().new AsyncTaskRequest(completionHandler, getClient().localSearchExecutorService) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return _multipleQueriesOffline(queriesCopy, strategy == null ? null : strategy.toString());
            }
        }.start();
    }
public Request multipleQueriesOfflineAsync ( final @ NonNull List < Query > queries , final Client . MultipleQueriesStrategy strategy , @ NonNull CompletionHandler completionHandler ) { if ( ! mirrored ) { throw new IllegalStateException ( "Offline requests are only available when the index is mirrored" ) ; } final List < Query > queriesCopy = new ArrayList <> ( queries . size ( ) ) ; for ( Query query : queries ) { queriesCopy . add ( new Query ( query ) ) ; } return getClient ( ) . new AsyncTaskRequest ( completionHandler , getClient ( ) . localSearchExecutorService ) { @ NonNull @ Override protected JSONObject run ( ) throws AlgoliaException { return _multipleQueriesOffline ( queriesCopy , strategy == null ? null : strategy . toString ( ) ) ; } } . start ( ) ; }
Run multiple queries on this index, explicitly targeting the offline mirror.

@param queries Queries to run.
@param strategy Strategy to use.
@param completionHandler The listener that will be notified of the request's outcome.
@return A cancellable request.
@throws IllegalStateException if mirroring is not activated on this index.
Run multiple queries on this index explicitly targeting the offline mirror .