T - Class of objects which will be returned in a listpublic class PagingForkJoinTask<T> extends RecursiveTask<List<T>>
| Constructor and Description |
|---|
PagingForkJoinTask(PagingCallback<T> callback,
List<Paging> pages) |
| Modifier and Type | Method and Description |
|---|---|
protected List<T> |
compute() |
exec, getRawResult, setRawResultadapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnforkpublic PagingForkJoinTask(PagingCallback<T> callback, List<Paging> pages)
callback - The callback which will be used to get a page of data from the Strava APIpages - The list of paging instructionsprotected List<T> compute()
compute in class RecursiveTask<List<T>>RecursiveTask.compute()Copyright © 2016 Dan Shannon. All rights reserved.