Umesh Krishnaswamy | 345ee99 | 2012-12-13 20:29:48 -0800 | [diff] [blame] | 1 | package net.floodlightcontroller.threadpool; |
| 2 | |
| 3 | import java.util.concurrent.ScheduledExecutorService; |
| 4 | |
| 5 | import net.floodlightcontroller.core.module.IFloodlightService; |
| 6 | |
| 7 | public interface IThreadPoolService extends IFloodlightService { |
| 8 | /** |
| 9 | * Get the master scheduled thread pool executor maintained by the |
| 10 | * ThreadPool provider. This can be used by other modules as a centralized |
| 11 | * way to schedule tasks. |
| 12 | * @return |
| 13 | */ |
| 14 | public ScheduledExecutorService getScheduledExecutor(); |
| 15 | } |