algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java
public Request browseMirrorAsync(@NonNull Query query, @NonNull CompletionHandler completionHandler) {
        if (!mirrored) {
            throw new IllegalStateException("Mirroring not activated on this index");
        }
        final Query queryCopy = new Query(query);
        return getClient().new AsyncTaskRequest(completionHandler, getClient().localSearchExecutorService) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return _browseMirror(queryCopy);
            }
        }.start();
    }
public Request browseMirrorAsync(@NonNull Query query, @NonNull CompletionHandler completionHandler) {
        if (!mirrored) {
            throw new IllegalStateException("Mirroring not activated on this index");
        }
        final Query queryCopy = new Query(query);
        return getClient().new AsyncTaskRequest(completionHandler, getClient().localSearchExecutorService) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return _browseMirror(queryCopy);
            }
        }.start();
    }
public Request browseMirrorAsync ( @ NonNull Query query , @ NonNull CompletionHandler completionHandler ) { if ( ! mirrored ) { throw new IllegalStateException ( "Mirroring not activated on this index" ) ; } final Query queryCopy = new Query ( query ) ; return getClient ( ) . new AsyncTaskRequest ( completionHandler , getClient ( ) . localSearchExecutorService ) { @ NonNull @ Override protected JSONObject run ( ) throws AlgoliaException { return _browseMirror ( queryCopy ) ; } } . start ( ) ; }
Browse the local mirror (initial call).
Same semantics as {@link Index#browseAsync}.

@param query Browse query. Same restrictions as the online API.
@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.
Browse the local mirror ( initial call ) . Same semantics as { @link Index#browseAsync } .