algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java
public Request getObjectsOnlineAsync(@NonNull final List<String> objectIDs, final @Nullable List<String> attributesToRetrieve, @Nullable final RequestOptions requestOptions, @NonNull final CompletionHandler completionHandler) {
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return getObjectsOnline(objectIDs, attributesToRetrieve, requestOptions);
            }
        }.start();
    }
public Request getObjectsOnlineAsync(@NonNull final List<String> objectIDs, final @Nullable List<String> attributesToRetrieve, @Nullable final RequestOptions requestOptions, @NonNull final CompletionHandler completionHandler) {
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return getObjectsOnline(objectIDs, attributesToRetrieve, requestOptions);
            }
        }.start();
    }
Get individual objects, explicitly targeting the online API, not the offline mirror.

@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 requestOptions Request-specific options.
@param completionHandler The listener that will be notified of the request's outcome.
@return A cancellable request.