public enum ProducerType extends java.lang.Enum<ProducerType>
| Enum Constant and Description |
|---|
MULTI
Create a RingBuffer supporting multiple event publishers to the one RingBuffer
|
SINGLE
Create a RingBuffer with a single event publisher to the RingBuffer
|
| Modifier and Type | Method and Description |
|---|---|
static ProducerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProducerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProducerType SINGLE
public static final ProducerType MULTI
public static ProducerType[] values()
for (ProducerType c : ProducerType.values()) System.out.println(c);
public static ProducerType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2011 - 2018 LMAX Ltd. All Rights Reserved.