|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ChannelConfiguration.ChannelConfigurationType>
org.apache.flume.conf.channel.ChannelConfiguration.ChannelConfigurationType
public static enum ChannelConfiguration.ChannelConfigurationType
Enum Constant Summary | |
---|---|
FILE
File channel |
|
JDBC
JDBC channel provided by org.apache.flume.channel.jdbc.JdbcChannel |
|
MEMORY
|
|
OTHER
|
|
SPILLABLEMEMORY
Spillable Memory channel |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String getChannelConfigurationType()
public ChannelConfiguration getConfiguration(String name) throws ConfigurationException
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |