Class HvlLogProcessJobExecutor
java.lang.Object
tr.com.havelsan.javarch.log.processor.starter.job.executor.HvlLogProcessJobExecutor
Executor to start worker threads.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTask
(HvlLogProducerTaskModel producerTaskModel) Add task.void
addTaskList
(List<HvlLogProducerTaskModel> producerTaskModelList) Add task list.boolean
Executor service is busy boolean.static HvlLogProcessJobExecutor
newPool
(int workerCount) New pool hvl log process job executor.
-
Method Details
-
newPool
New pool hvl log process job executor.- Parameters:
workerCount
- the worker count- Returns:
- the hvl log process job executor
-
addTask
Add task.- Parameters:
producerTaskModel
- the producer task model
-
addTaskList
Add task list.- Parameters:
producerTaskModelList
- the producer task model list
-
executorServiceIsBusy
public boolean executorServiceIsBusy()Executor service is busy boolean.- Returns:
- the boolean
-