|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Source
A source generates and calls methods on the
configured ChannelProcessor
to persist those events into the
configured channels.
Sources are associated with unique names that can be used for separating configuration and working namespaces.
No guarantees are given regarding thread safe access.
Channel
,
Sink
Method Summary | |
---|---|
ChannelProcessor |
getChannelProcessor()
Returns the channel processor that will handle this source's events. |
void |
setChannelProcessor(ChannelProcessor channelProcessor)
Specifies which channel processor will handle this source's events. |
Methods inherited from interface org.apache.flume.lifecycle.LifecycleAware |
---|
getLifecycleState, start, stop |
Methods inherited from interface org.apache.flume.NamedComponent |
---|
getName, setName |
Method Detail |
---|
void setChannelProcessor(ChannelProcessor channelProcessor)
channelProcessor
- ChannelProcessor getChannelProcessor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |