Code example for ThreadPoolExecutor

            new LinkedBlockingQueue<Runnable>(10);
     * An {@link Executor} that can be used to execute tasks in parallel. 
    public static final Executor THREAD_POOL_EXECUTOR = new ThreadPoolExecutor(CORE_POOL_SIZE,
            TimeUnit.SECONDS, sPoolWorkQueue, sThreadFactory,
            new ThreadPoolExecutor.DiscardOldestPolicy());
     * An {@link Executor} that executes tasks one at a time in serial order. 
     * This serialization is global to a particular process. 
    public static final Executor SERIAL_EXECUTOR = AndroidUtils.isHoneycombOrHigher() ? new SerialExecutor()
            : Executors.newSingleThreadExecutor(sThreadFactory);
    public static final Executor DUAL_THREAD_EXECUTOR =
            Executors.newFixedThreadPool(2, sThreadFactory);