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, setNamepublic static final String CONFIG_OPTIONAL
public List<Channel> getRequiredChannels(Event event)
ChannelSelectorpublic List<Channel> getOptionalChannels(Event event)
ChannelSelectorpublic void configure(Context context)
ConfigurableRequest 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-2022 Apache Software Foundation. All Rights Reserved.