public class ReplicatingChannelSelector extends AbstractChannelSelector
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_OPTIONAL
Configuration to set a subset of the channels as optional.
|
Constructor and Description |
---|
ReplicatingChannelSelector() |
Modifier and Type | Method and Description |
---|---|
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.
|
getAllChannels, getChannelListFromNames, getChannelNameMap, getName, setChannels, setName
public static final String CONFIG_OPTIONAL
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 guarantees on when configure might be called.
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.