@InterfaceAudience.Private @InterfaceStability.Unstable public class EmbeddedSource extends AbstractSource implements EventDrivenSource, Configurable
| Constructor and Description |
|---|
EmbeddedSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Context context)
Request the implementing class to (re)configure itself.
|
void |
put(Event event) |
void |
putAll(List<Event> events) |
getChannelProcessor, getLifecycleState, getName, setChannelProcessor, setName, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChannelProcessor, setChannelProcessorgetLifecycleState, start, stopgetName, setNamepublic void configure(Context context)
ConfigurableRequest the implementing class to (re)configure itself.
When configuration parameters are changed, they must be reflected by the component asap.
There are no thread safety guarantees on when configure might be called.
configure in interface Configurablepublic void put(Event event) throws ChannelException
ChannelExceptionpublic void putAll(List<Event> events) throws ChannelException
ChannelExceptionCopyright © 2009-2022 Apache Software Foundation. All Rights Reserved.