|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Supplier is a Callable-like object that indicates when further calls should not be made. In conjunction with DoubleBufferedQueue, it can be used to provide read-ahead iterator-like function.
Field Summary | |
static java.lang.String |
code_id
|
Method Summary | |
java.lang.Object[] |
call()
Obtain the next block of results. |
void |
close()
Tell the supplier no further calls will be made. |
int |
getBlockSize()
Indicate how many objects are contained in a buffer; this is optimally the maximum size of an array returned from call(). |
boolean |
isComplete()
Indicate if this Supplier is complete |
Field Detail |
public static final java.lang.String code_id
Method Detail |
public int getBlockSize()
public boolean isComplete()
public void close()
public java.lang.Object[] call() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |