@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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChannelProcessor, setChannelProcessor
getLifecycleState, start, stop
getName, setName
public void configure(Context context)
Configurable
Request 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 Configurable
public void put(Event event) throws ChannelException
ChannelException
public void putAll(List<Event> events) throws ChannelException
ChannelException
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.