algoliasearch/src/offline/java/com/algolia/search/saas/OfflineIndex.java
public Request getObjectAsync(final @NonNull String objectID, final List<String> attributesToRetrieve, @NonNull CompletionHandler completionHandler) {
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return getObjectSync(objectID, attributesToRetrieve);
            }
        }.start();
    }
public Request getObjectAsync(final @NonNull String objectID, final List<String> attributesToRetrieve, @NonNull CompletionHandler completionHandler) {
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return getObjectSync(objectID, attributesToRetrieve);
            }
        }.start();
    }
public Request getObjectAsync ( final @ NonNull String objectID , final List < String > attributesToRetrieve , @ NonNull CompletionHandler completionHandler ) { return getClient ( ) . new AsyncTaskRequest ( completionHandler ) { @ NonNull @ Override protected JSONObject run ( ) throws AlgoliaException { return getObjectSync ( objectID , attributesToRetrieve ) ; } } . start ( ) ; }
Get an object from this index, optionally restricting the retrieved content (asynchronously).

@param objectID Identifier of the object to retrieve.
@param attributesToRetrieve List of attributes to retrieve.
@param completionHandler The listener that will be notified of the request's outcome.
@return A cancellable request.
Get an object from this index optionally restricting the retrieved content ( asynchronously ) .