algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java
public Request getObjectsOfflineAsync(@NonNull final List<String> objectIDs, final @Nullable List<String> attributesToRetrieve, @NonNull CompletionHandler completionHandler) {
        if (!mirrored) {
            throw new IllegalStateException("Mirroring not activated on this index");
        }
        return getClient().new AsyncTaskRequest(completionHandler, getClient().localSearchExecutorService) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return _getObjectsOffline(objectIDs, attributesToRetrieve);
            }
        }.start();
    }
public Request getObjectsOfflineAsync(@NonNull final List<String> objectIDs, final @Nullable List<String> attributesToRetrieve, @NonNull CompletionHandler completionHandler) {
        if (!mirrored) {
            throw new IllegalStateException("Mirroring not activated on this index");
        }
        return getClient().new AsyncTaskRequest(completionHandler, getClient().localSearchExecutorService) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return _getObjectsOffline(objectIDs, attributesToRetrieve);
            }
        }.start();
    }
public Request getObjectsOfflineAsync ( @ NonNull final List < String > objectIDs , final @ Nullable List < String > attributesToRetrieve , @ NonNull CompletionHandler completionHandler ) { if ( ! mirrored ) { throw new IllegalStateException ( "Mirroring not activated on this index" ) ; } return getClient ( ) . new AsyncTaskRequest ( completionHandler , getClient ( ) . localSearchExecutorService ) { @ NonNull @ Override protected JSONObject run ( ) throws AlgoliaException { return _getObjectsOffline ( objectIDs , attributesToRetrieve ) ; } } . start ( ) ; }
Get individual objects, explicitly targeting the offline mirror, not the online API.

@param objectIDs Identifiers of objects to retrieve.
@param attributesToRetrieve Attributes to retrieve. If `null` or if at least one item is `*`, all retrievable
attributes will be retrieved.
@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.
Get individual objects explicitly targeting the offline mirror not the online API .