org.apache.flume.channel
Class AbstractChannelSelector
java.lang.Object
org.apache.flume.channel.AbstractChannelSelector
- All Implemented Interfaces:
- ChannelSelector, Configurable, NamedComponent
- Direct Known Subclasses:
- MultiplexingChannelSelector, ReplicatingChannelSelector
public abstract class AbstractChannelSelector
- extends Object
- implements ChannelSelector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractChannelSelector
public AbstractChannelSelector()
getAllChannels
public List<Channel> getAllChannels()
- Specified by:
getAllChannels
in interface ChannelSelector
- Returns:
- the list of all channels that this selector is configured to work
with.
setChannels
public void setChannels(List<Channel> channels)
- Specified by:
setChannels
in interface ChannelSelector
- Parameters:
channels
- all channels the selector could select from.
setName
public void setName(String name)
- Specified by:
setName
in interface NamedComponent
getName
public String getName()
- Specified by:
getName
in interface NamedComponent
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.