|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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>
null
public int size()
ProvidesTotalHint
size
in interface ProvidesTotalHint
public void close() throws MuleException
Closeable
close
in interface Closeable
MuleException
- if an exception occurs closing the resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |