Here you can find the source of getPool()
public static ThreadPoolExecutor getPool()
//package com.java2s; // Licensed under the Apache License, Version 2.0 (the "License"); import java.util.concurrent.Executors; import java.util.concurrent.ThreadPoolExecutor; public class Main { public static final ThreadPoolExecutor POOL = (ThreadPoolExecutor) Executors .newFixedThreadPool(10); public static ThreadPoolExecutor getPool() { return POOL; }/*from w w w .ja v a 2 s .c om*/ }