public Observable<ServiceResponseWithHeaders<Page<NodeFile>, FileListFromComputeNodeHeaders>> listFromComputeNodeWithServiceResponseAsync(final String poolId, final String nodeId) {
        return listFromComputeNodeSinglePageAsync(poolId, nodeId)
                .concatMap(new Func1<ServiceResponseWithHeaders<Page<NodeFile>, FileListFromComputeNodeHeaders>, Observable<ServiceResponseWithHeaders<Page<NodeFile>, FileListFromComputeNodeHeaders>>>() {
                    @Override
                    public Observable<ServiceResponseWithHeaders<Page<NodeFile>, FileListFromComputeNodeHeaders>> call(ServiceResponseWithHeaders<Page<NodeFile>, FileListFromComputeNodeHeaders> page) {
                        String nextPageLink = page.body().nextPageLink();
                        if (nextPageLink == null) {
                            return Observable.just(page);
                        }
                        return Observable.just(page).concatWith(listFromComputeNodeNextWithServiceResponseAsync(nextPageLink, null));
                    }
                });
    }
public Observable < ServiceResponseWithHeaders < Page < NodeFile > , FileListFromComputeNodeHeaders > > listFromComputeNodeWithServiceResponseAsync ( final String poolId , final String nodeId ) { return listFromComputeNodeSinglePageAsync ( poolId , nodeId ) . concatMap ( new Func1 < ServiceResponseWithHeaders < Page < NodeFile > , FileListFromComputeNodeHeaders > , Observable < ServiceResponseWithHeaders < Page < NodeFile > , FileListFromComputeNodeHeaders > > > ( ) { @ Override public Observable < ServiceResponseWithHeaders < Page < NodeFile > , FileListFromComputeNodeHeaders > > call ( ServiceResponseWithHeaders < Page < NodeFile > , FileListFromComputeNodeHeaders > page ) { String nextPageLink = page . body ( ) . nextPageLink ( ) ; if ( nextPageLink == null ) { return Observable . just ( page ) ; } return Observable . just ( page ) . concatWith ( listFromComputeNodeNextWithServiceResponseAsync ( nextPageLink , null ) ) ; } } ) ; }
Lists all of the files in task directories on the specified compute node.

@param poolId The ID of the pool that contains the compute node.
@param nodeId The ID of the compute node whose files you want to list.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;NodeFile&gt; object