public enum ListenerMode extends Enum<ListenerMode>
| Enum Constant and Description |
|---|
BATCH
Each
Message will be converted from a collection of records
returned by a poll. |
RECORD
Each
Message will be converted from a single record |
| Modifier and Type | Method and Description |
|---|---|
static ListenerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListenerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenerMode RECORD
Message will be converted from a single recordpublic static final ListenerMode BATCH
Message will be converted from a collection of records
returned by a poll.public static ListenerMode[] values()
for (ListenerMode c : ListenerMode.values()) System.out.println(c);
public static ListenerMode 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 © 2019 Pivotal Software, Inc.. All rights reserved.