T
- Data container type for output tuples.public class Events<T> extends Source<T> implements Consumer<T>
Consumer
which
can be called directly from an event handler,
listener or callback.Constructor and Description |
---|
Events(Consumer<Consumer<T>> eventSetup) |
Modifier and Type | Method and Description |
---|---|
void |
accept(T tuple)
Apply the function to
value . |
void |
close() |
void |
start()
Start the oplet.
|
getDestination, getInputs, initialize, submit
getOpletContext
public void close() throws java.lang.Exception
close
in interface java.lang.AutoCloseable
java.lang.Exception
public void start()
Oplet
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641