public enum DisruptorProducerType extends Enum<DisruptorProducerType>
ProducerType
according to the Camel Case convention used
in Camel.
Multi is the default ProducerType
.Enum Constant and Description |
---|
Multi
Create a RingBuffer supporting multiple event publishers to the Disruptors RingBuffer
|
Single
Create a RingBuffer with a single event publisher to the Disruptors RingBuffer
|
Modifier and Type | Method and Description |
---|---|
com.lmax.disruptor.dsl.ProducerType |
getProducerType() |
static DisruptorProducerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisruptorProducerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisruptorProducerType Single
public static final DisruptorProducerType Multi
public static DisruptorProducerType[] values()
for (DisruptorProducerType c : DisruptorProducerType.values()) System.out.println(c);
public static DisruptorProducerType 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 com.lmax.disruptor.dsl.ProducerType getProducerType()
Apache Camel