Package com.linkedin.venice.writer
Class ChainedPubSubCallback
java.lang.Object
com.linkedin.venice.writer.ChainedPubSubCallback
- All Implemented Interfaces:
PubSubProducerCallback
-
Constructor Summary
ConstructorsConstructorDescriptionChainedPubSubCallback
(PubSubProducerCallback mainCallback, List<PubSubProducerCallback> dependentCallbackList) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onCompletion
(PubSubProduceResult produceResult, Exception exception) exception will be null if request was completed without an error.
-
Constructor Details
-
ChainedPubSubCallback
public ChainedPubSubCallback(PubSubProducerCallback mainCallback, List<PubSubProducerCallback> dependentCallbackList)
-
-
Method Details
-
onCompletion
Description copied from interface:PubSubProducerCallback
exception will be null if request was completed without an error.- Specified by:
onCompletion
in interfacePubSubProducerCallback
-