public class ListableObjectStoreProducer<T extends Serializable> extends Object implements Producer<T>
Producer to stream the contents of a ListableObjectStore| Constructor and Description |
|---|
ListableObjectStoreProducer(ListableObjectStore<T> objectStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getSize() |
T |
produce()
Returns the next available item
|
public ListableObjectStoreProducer(ListableObjectStore<T> objectStore)
public T produce()
Producerproduce in interface Producer<T extends Serializable>nullpublic int getSize()
getSize in interface org.mule.runtime.api.streaming.HasSizepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.