Class HvlLogProcessJobExecutor

java.lang.Object
tr.com.havelsan.javarch.log.processor.starter.job.executor.HvlLogProcessJobExecutor

public class HvlLogProcessJobExecutor extends Object
Executor to start worker threads.
  • Method Details

    • newPool

      public static HvlLogProcessJobExecutor newPool(int workerCount)
      New pool hvl log process job executor.
      Parameters:
      workerCount - the worker count
      Returns:
      the hvl log process job executor
    • addTask

      public void addTask(HvlLogProducerTaskModel producerTaskModel)
      Add task.
      Parameters:
      producerTaskModel - the producer task model
    • addTaskList

      public void addTaskList(List<HvlLogProducerTaskModel> producerTaskModelList)
      Add task list.
      Parameters:
      producerTaskModelList - the producer task model list
    • executorServiceIsBusy

      public boolean executorServiceIsBusy()
      Executor service is busy boolean.
      Returns:
      the boolean