public class BeanIdList extends Object
| Constructor and Description |
|---|
BeanIdList(List<Object> idList) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object id)
Add an Id to the list.
|
void |
backgroundFetchWait()
Wait for the background fetching to complete.
|
void |
backgroundFetchWait(long wait,
TimeUnit timeUnit)
Wait for the background fetching to complete with a timeout.
|
List<Object> |
getIdList()
Return the list of Id's.
|
boolean |
isFetchingInBackground()
Return true if the fetch is continuing in a background thread.
|
boolean |
isHasMore()
Return true if max rows was hit and there is more rows to fetch.
|
void |
setBackgroundFetch(FutureTask<Integer> fetchFuture)
Set the FutureTask that is continuing the fetch in a background thread.
|
void |
setHasMore(boolean hasMore)
Set to true when max rows is hit and there are more rows to fetch.
|
public boolean isFetchingInBackground()
public void setBackgroundFetch(FutureTask<Integer> fetchFuture)
public void backgroundFetchWait(long wait,
TimeUnit timeUnit)
public void backgroundFetchWait()
public void add(Object id)
public boolean isHasMore()
public void setHasMore(boolean hasMore)
Copyright © 2014. All Rights Reserved.