public enum ChannelType extends Enum<ChannelType> implements ComponentWithClassName
| Enum Constant and Description |
|---|
FILE
File channel
|
JDBC
JDBC channel provided by org.apache.flume.channel.jdbc.JdbcChannel
|
MEMORY
Memory channel
|
OTHER
Place holder for custom channels not part of this enumeration.
|
SPILLABLEMEMORY
Spillable Memory channel
|
| Modifier and Type | Method and Description |
|---|---|
String |
getChannelClassName()
Deprecated.
|
String |
getClassName() |
static ChannelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelType OTHER
public static final ChannelType FILE
FileChannelpublic static final ChannelType MEMORY
MemoryChannelpublic static final ChannelType JDBC
public static final ChannelType SPILLABLEMEMORY
SpillableMemoryChannelpublic static ChannelType[] values()
for (ChannelType c : ChannelType.values()) System.out.println(c);
public static ChannelType 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 null@Deprecated public String getChannelClassName()
public String getClassName()
getClassName in interface ComponentWithClassNameCopyright © 2009-2022 Apache Software Foundation. All Rights Reserved.