Enum BenchmarkChannelType
- java.lang.Object
-
- java.lang.Enum<BenchmarkChannelType>
-
- deltix.qsrv.hf.tickdb.ui.tbshell.benchmark.BenchmarkChannelType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BenchmarkChannelType>
public enum BenchmarkChannelType extends java.lang.Enum<BenchmarkChannelType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DURABLE_STREAM
TOPIC
TRANSIENT_STREAM
UDP_SINGLE_PRODUCER_TOPIC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BenchmarkChannelType
getByKey(java.lang.String key)
java.lang.String
getKey()
java.lang.String
getName()
static BenchmarkChannelType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BenchmarkChannelType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DURABLE_STREAM
public static final BenchmarkChannelType DURABLE_STREAM
-
TRANSIENT_STREAM
public static final BenchmarkChannelType TRANSIENT_STREAM
-
TOPIC
public static final BenchmarkChannelType TOPIC
-
UDP_SINGLE_PRODUCER_TOPIC
public static final BenchmarkChannelType UDP_SINGLE_PRODUCER_TOPIC
-
-
Method Detail
-
values
public static BenchmarkChannelType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BenchmarkChannelType c : BenchmarkChannelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BenchmarkChannelType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getByKey
public static BenchmarkChannelType getByKey(java.lang.String key)
-
getKey
public java.lang.String getKey()
-
getName
public java.lang.String getName()
-
-