public static enum ChannelConfiguration.ChannelConfigurationType extends Enum<ChannelConfiguration.ChannelConfigurationType>
Enum Constant and Description |
---|
FILE
File channel
|
JDBC
JDBC channel provided by org.apache.flume.channel.jdbc.JdbcChannel
|
MEMORY |
OTHER |
SPILLABLEMEMORY
Spillable Memory channel
|
Modifier and Type | Method and Description |
---|---|
String |
getChannelConfigurationType() |
ChannelConfiguration |
getConfiguration(String name) |
static ChannelConfiguration.ChannelConfigurationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelConfiguration.ChannelConfigurationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelConfiguration.ChannelConfigurationType OTHER
public static final ChannelConfiguration.ChannelConfigurationType MEMORY
public static final ChannelConfiguration.ChannelConfigurationType FILE
public static final ChannelConfiguration.ChannelConfigurationType JDBC
public static final ChannelConfiguration.ChannelConfigurationType SPILLABLEMEMORY
public static ChannelConfiguration.ChannelConfigurationType[] values()
for (ChannelConfiguration.ChannelConfigurationType c : ChannelConfiguration.ChannelConfigurationType.values()) System.out.println(c);
public static ChannelConfiguration.ChannelConfigurationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getChannelConfigurationType()
public ChannelConfiguration getConfiguration(String name) throws ConfigurationException
ConfigurationException
Copyright © 2009-2017 Apache Software Foundation. All Rights Reserved.