|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.flume.channel.AbstractChannelSelector org.apache.flume.channel.ReplicatingChannelSelector
public class ReplicatingChannelSelector
Replicating channel selector. This selector allows the event to be placed in all the channels that the source is configured with.
Field Summary | |
---|---|
static String |
CONFIG_OPTIONAL
Configuration to set a subset of the channels as optional. |
Constructor Summary | |
---|---|
ReplicatingChannelSelector()
|
Method Summary | |
---|---|
void |
configure(Context context)
Request the implementing class to (re)configure itself. |
List<Channel> |
getOptionalChannels(Event event)
Returns a list of optional channels. |
List<Channel> |
getRequiredChannels(Event event)
Returns a list of required channels. |
Methods inherited from class org.apache.flume.channel.AbstractChannelSelector |
---|
getAllChannels, getChannelListFromNames, getChannelNameMap, getName, setChannels, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONFIG_OPTIONAL
Constructor Detail |
---|
public ReplicatingChannelSelector()
Method Detail |
---|
public List<Channel> getRequiredChannels(Event event)
ChannelSelector
public List<Channel> getOptionalChannels(Event event)
ChannelSelector
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 guarrantees on when configure might be called.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |