public enum SinkProcessorType extends Enum<SinkProcessorType>
Enum Constant and Description |
---|
DEFAULT
Standard processor
|
FAILOVER
Failover processor
|
LOAD_BALANCE
Load balancing processor
|
OTHER
Place holder for custom sinks not part of this enumeration.
|
Modifier and Type | Method and Description |
---|---|
String |
getSinkProcessorClassName() |
static SinkProcessorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SinkProcessorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SinkProcessorType OTHER
public static final SinkProcessorType FAILOVER
FailoverSinkProcessor
public static final SinkProcessorType DEFAULT
DefaultSinkProcessor
public static final SinkProcessorType LOAD_BALANCE
LoadBalancingSinkProcessor
public static SinkProcessorType[] values()
for (SinkProcessorType c : SinkProcessorType.values()) System.out.println(c);
public static SinkProcessorType 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 getSinkProcessorClassName()
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.