public void setMax(int size){
        System.out.print("Setting max size " + size);
        if(maxSize == 0){
            maxSize = size;
            execute();
        }else{
            maxSize = size;
        }
    }
Facebook interview question
Implement a non block run which takes as many runnables as given but only
runs a specified number of threads.
You can also update maxSize in between which will change number of threads executing
http://tutorials.jenkov.com/java-concurrency/thread-pools.html
src/com/interview/multithreaded/ThreadPoolImpl.java