public enum ChannelType extends Enum<ChannelType>
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() |
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
FileChannel
public static final ChannelType MEMORY
MemoryChannel
public static final ChannelType JDBC
public static final ChannelType SPILLABLEMEMORY
SpillableMemoryChannel
public 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 nullpublic String getChannelClassName()
Copyright © 2009-2017 Apache Software Foundation. All Rights Reserved.