|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.streaming.PagingDelegateProducer<T>
public class PagingDelegateProducer<T>
Implementation of Producer that uses an instance of PagingDelegate
to get its results
| Constructor Summary | |
|---|---|
PagingDelegateProducer(PagingDelegate<T> delegate)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the delegate |
List<T> |
produce()
Asks the delegate for the next page |
int |
size()
Returns the total amount of available results informed by delegate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PagingDelegateProducer(PagingDelegate<T> delegate)
| Method Detail |
|---|
public List<T> produce()
produce in interface Producer<List<T>>nullpublic int size()
size in interface ProvidesTotalHint
public void close()
throws MuleException
close in interface CloseableMuleException - if an exception occurs closing the resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||