public class SupplierSource<T> extends ProcessSource<T>
Constructor and Description |
---|
SupplierSource() |
SupplierSource(Supplier<java.lang.Iterable<T>> data) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
initialize(OpletContext<java.lang.Void,T> context)
Initialize the oplet.
|
void |
process() |
getRunnable, run, start
getDestination, getInputs, submit
getOpletContext
public void initialize(OpletContext<java.lang.Void,T> context)
Oplet
initialize
in interface Oplet<java.lang.Void,T>
initialize
in class Source<T>
context
- the OpletContextpublic void close() throws java.lang.Exception
java.lang.Exception
public void process()
process
in class ProcessSource<T>
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641