public static enum SplitWriter.Strategy extends Enum<SplitWriter.Strategy> implements SplitWriter.IStrategy
Enum Constant and Description |
---|
BROADCAST
Sends a copy of each record to every downstream reader.
|
ROUND_ROBIN
Sends each record to a single downstream reader by cycling through the downstream readers one-at-a-time.
|
Modifier and Type | Method and Description |
---|---|
static SplitWriter.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SplitWriter.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
put, take
public static final SplitWriter.Strategy BROADCAST
public static final SplitWriter.Strategy ROUND_ROBIN
public static SplitWriter.Strategy[] values()
for (SplitWriter.Strategy c : SplitWriter.Strategy.values()) System.out.println(c);
public static SplitWriter.Strategy 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 nullCopyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.