public Future<Boolean> reindexContentAsync( final JcrWorkspace workspace ) {
        return indexingExecutorService.submit(() -> {
            reindexContent(workspace);
            return Boolean.TRUE;
        });
    }
public Future < Boolean > reindexContentAsync ( final JcrWorkspace workspace ) { return indexingExecutorService . submit ( ( ) -> { reindexContent ( workspace ) ; return Boolean . TRUE ; } ) ; }
Asynchronously crawl and index the content in the named workspace.

@param workspace the workspace
@return the future for the asynchronous operation; never null
@throws IllegalArgumentException if the workspace is null