| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChannelSelector
Allows the selection of a subset of channels from the given set based on its implementation policy. Different implementations of this interface embody different policies that affect the choice of channels that a source will push the incoming events to.
| Method Summary | |
|---|---|
|  List<Channel> | getAllChannels() | 
|  List<Channel> | getOptionalChannels(Event event)Returns a list of optional channels. | 
|  List<Channel> | getRequiredChannels(Event event)Returns a list of required channels. | 
|  void | setChannels(List<Channel> channels) | 
| Methods inherited from interface org.apache.flume.NamedComponent | 
|---|
| getName, setName | 
| Methods inherited from interface org.apache.flume.conf.Configurable | 
|---|
| configure | 
| Method Detail | 
|---|
void setChannels(List<Channel> channels)
channels - all channels the selector could select from.List<Channel> getRequiredChannels(Event event)
event - 
List<Channel> getOptionalChannels(Event event)
event - 
List<Channel> getAllChannels()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||