Enum BatchDeserializerType
- java.lang.Object
-
- java.lang.Enum<BatchDeserializerType>
-
- com.linkedin.venice.client.store.deserialization.BatchDeserializerType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BatchDeserializerType>
public enum BatchDeserializerType extends java.lang.Enum<BatchDeserializerType>
This enum controls the behavior of the user payload deserialization phase of the batch get response handling.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS_ON_MULTI_THREADED_PIPELINE
Deprecated.BLACK_HOLE
Test mode used primarily for targeted benchmarking of non-serde code pathsBLOCKING
Only supported working modeONE_FUTURE_PER_RECORD
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchDeserializer
get(java.util.concurrent.Executor executor, ClientConfig clientConfig)
static BatchDeserializerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BatchDeserializerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLOCKING
public static final BatchDeserializerType BLOCKING
Only supported working mode
-
ONE_FUTURE_PER_RECORD
@Deprecated public static final BatchDeserializerType ONE_FUTURE_PER_RECORD
Deprecated.
-
ALWAYS_ON_MULTI_THREADED_PIPELINE
@Deprecated public static final BatchDeserializerType ALWAYS_ON_MULTI_THREADED_PIPELINE
Deprecated.
-
BLACK_HOLE
public static final BatchDeserializerType BLACK_HOLE
Test mode used primarily for targeted benchmarking of non-serde code paths
-
-
Method Detail
-
values
public static BatchDeserializerType[] 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 (BatchDeserializerType c : BatchDeserializerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BatchDeserializerType 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
-
get
public BatchDeserializer get(java.util.concurrent.Executor executor, ClientConfig clientConfig)
-
-