|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SinkProcessorConfiguration.SinkProcessorConfigurationType>
org.apache.flume.conf.sink.SinkProcessorConfiguration.SinkProcessorConfigurationType
public static enum SinkProcessorConfiguration.SinkProcessorConfigurationType
Enum Constant Summary | |
---|---|
DEFAULT
Standard processor |
|
FAILOVER
Failover processor |
|
LOAD_BALANCE
Load balacing channel selector |
Method Summary | |
---|---|
SinkProcessorConfiguration |
getConfiguration(String name)
|
String |
getSinkProcessorConfigurationType()
|
static SinkProcessorConfiguration.SinkProcessorConfigurationType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SinkProcessorConfiguration.SinkProcessorConfigurationType[] |
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 SinkProcessorConfiguration.SinkProcessorConfigurationType LOAD_BALANCE
public static final SinkProcessorConfiguration.SinkProcessorConfigurationType FAILOVER
FailoverSinkProcessor
public static final SinkProcessorConfiguration.SinkProcessorConfigurationType DEFAULT
DefaultSinkProcessor
Method Detail |
---|
public static SinkProcessorConfiguration.SinkProcessorConfigurationType[] values()
for (SinkProcessorConfiguration.SinkProcessorConfigurationType c : SinkProcessorConfiguration.SinkProcessorConfigurationType.values()) System.out.println(c);
public static SinkProcessorConfiguration.SinkProcessorConfigurationType 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 getSinkProcessorConfigurationType()
public SinkProcessorConfiguration getConfiguration(String name) throws ConfigurationException
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |