|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.streaming.ListableObjectStoreProducer<T>
public class ListableObjectStoreProducer<T extends Serializable>
Implementation of Producer to stream the contents of a
ListableObjectStore
| Constructor Summary | |
|---|---|
ListableObjectStoreProducer(ListableObjectStore<T> objectStore)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the resource. |
T |
produce()
Returns the next available item |
int |
size()
returns the total amount of items available for storage/processing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListableObjectStoreProducer(ListableObjectStore<T> objectStore)
| Method Detail |
|---|
public T produce()
Producer
produce in interface Producer<T extends Serializable>nullpublic int size()
ProvidesTotalHint
size in interface ProvidesTotalHint
public void close()
throws MuleException
Closeable
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 | |||||||||