algoliasearch/src/main/java/com/algolia/search/saas/Index.java
public Request getObjectAsync(final @NonNull String objectID, final Collection<String> attributesToRetrieve, @Nullable final RequestOptions requestOptions, @Nullable CompletionHandler completionHandler) {
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override protected JSONObject run() throws AlgoliaException {
                return getObject(objectID, attributesToRetrieve, requestOptions);
            }
        }.start();
    }
public Request getObjectAsync(final @NonNull String objectID, final Collection<String> attributesToRetrieve, @Nullable final RequestOptions requestOptions, @Nullable CompletionHandler completionHandler) {
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override protected JSONObject run() throws AlgoliaException {
                return getObject(objectID, attributesToRetrieve, requestOptions);
            }
        }.start();
    }
public Request getObjectAsync ( final @ NonNull String objectID , final Collection < String > attributesToRetrieve , @ Nullable final RequestOptions requestOptions , @ Nullable CompletionHandler completionHandler ) { return getClient ( ) . new AsyncTaskRequest ( completionHandler ) { @ NonNull @ Override protected JSONObject run ( ) throws AlgoliaException { return getObject ( objectID , attributesToRetrieve , requestOptions ) ; } } . start ( ) ; }
Gets 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 requestOptions       Request-specific options.
@param completionHandler    The listener that will be notified of the request's outcome.
@return A cancellable request.
Gets an object from this index optionally restricting the retrieved content ( asynchronously ) .