I
- Data container type for input tuples.O
- Data container type for output tuples.public interface Oplet<I,O>
extends java.lang.AutoCloseable
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends Consumer<I>> |
getInputs()
Get the input stream data handlers for this oplet.
|
void |
initialize(OpletContext<I,O> context)
Initialize the oplet.
|
void |
start()
Start the oplet.
|
void initialize(OpletContext<I,O> context) throws java.lang.Exception
context
- the OpletContextjava.lang.Exception
- on failurevoid start()
java.util.List<? extends Consumer<I>> getInputs()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641