| 420 | bool isThreadPoolProcessing() const { return threadPoolProcessing_; } |
| 421 | |
| 422 | void addTask(std::shared_ptr<Runnable> task) { |
| 423 | threadManager_->add(task, 0LL, taskExpireTime_); |
| 424 | } |
| 425 | |
| 426 | /** |
| 427 | * Return the count of sockets currently connected to. |