private void submitJob(ThreadPoolExecutor threadPoolExecutor, final List<Thread> list) {
        try {
            threadPoolExecutor.submit(new Runnable() {
                @Override
                public void run() {
                    list.add(Thread.currentThread());
                    try {
                        while (true) {
                            Thread.sleep(2000L);
                            System.out.println("=====" + Thread.currentThread().getName());

                        }
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
                }
            });
        } catch (Exception e) {
            System.out.println("-- " + e.getMessage());
        }
    }
@author Robert HG (254963746@qq.com) on 2/21/16.
lts-tasktracker/src/test/java/com/github/ltsopensource/tasktracker/runner/RunnerPoolTest.java