Class BlockingDeserializer<E,K,V>
- java.lang.Object
-
- com.linkedin.venice.client.store.deserialization.BatchDeserializer<E,K,V>
-
- com.linkedin.venice.client.store.deserialization.BlockingDeserializer<E,K,V>
-
public class BlockingDeserializer<E,K,V> extends BatchDeserializer<E,K,V>
ThisBatchDeserializer
does not do anything asynchronously. It simply deserializes all records sequentially on the same thread that called it.
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.client.store.deserialization.BatchDeserializer
clientConfig, deserializationExecutor
-
-
Constructor Summary
Constructors Constructor Description BlockingDeserializer(java.util.concurrent.Executor deserializationExecutor, ClientConfig clientConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserialize(java.util.concurrent.CompletableFuture<java.util.Map<K,V>> valueFuture, java.lang.Iterable<E> envelopes, java.util.List<K> keyList, java.util.function.BiConsumer<java.util.Map<K,V>,E> envelopeProcessor, Reporter responseDeserializationComplete, java.util.Optional<ClientStats> stats, long preResponseEnvelopeDeserialization)
-
-
-
Constructor Detail
-
BlockingDeserializer
public BlockingDeserializer(java.util.concurrent.Executor deserializationExecutor, ClientConfig clientConfig)
-
-
Method Detail
-
deserialize
public void deserialize(java.util.concurrent.CompletableFuture<java.util.Map<K,V>> valueFuture, java.lang.Iterable<E> envelopes, java.util.List<K> keyList, java.util.function.BiConsumer<java.util.Map<K,V>,E> envelopeProcessor, Reporter responseDeserializationComplete, java.util.Optional<ClientStats> stats, long preResponseEnvelopeDeserialization)
- Specified by:
deserialize
in classBatchDeserializer<E,K,V>
-
-