public static enum KinesisProducerConfiguration.ThreadingModel extends Enum<KinesisProducerConfiguration.ThreadingModel>
| Enum Constant and Description |
|---|
PER_REQUEST
Tells the native process to create a thread for each request.
|
POOLED
Tells the native process to use a thread pool.
|
| Modifier and Type | Method and Description |
|---|---|
static KinesisProducerConfiguration.ThreadingModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KinesisProducerConfiguration.ThreadingModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KinesisProducerConfiguration.ThreadingModel PER_REQUEST
public static final KinesisProducerConfiguration.ThreadingModel POOLED
KinesisProducerConfiguration.setThreadPoolSize(int).public static KinesisProducerConfiguration.ThreadingModel[] values()
for (KinesisProducerConfiguration.ThreadingModel c : KinesisProducerConfiguration.ThreadingModel.values()) System.out.println(c);
public static KinesisProducerConfiguration.ThreadingModel 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 © 2018. All rights reserved.