Class AdminExecutionTask
java.lang.Object
com.linkedin.venice.controller.kafka.consumer.AdminExecutionTask
This class is used to create
Callable that execute AdminOperations for a given store.-
Method Summary
Modifier and TypeMethodDescriptioncall()voidtaskOnFinish(String storeName) Decrement the number of threads processing admin messages for the same store in parallel.voidtaskOnStart(String storeName) Record the number of threads processing admin messages for the same store in parallel.
-
Method Details
-
call
-
taskOnStart
Record the number of threads processing admin messages for the same store in parallel. If there is more than 1 thread processing admin messages for the same store in parallel, record a violation.- Parameters:
storeName- the name of the store being processed
-
taskOnFinish
Decrement the number of threads processing admin messages for the same store in parallel. If the number of threads processing admin messages for the same store reduce to 1, decrease the violation count.- Parameters:
storeName- the name of the store being processed
-