added thread pool size example of java