java:threadpoolexecutor
This is an old revision of the document!
ThreadPoolExecutor
This class is used to execute tasks in Java. Generally, users will not directly create a ThreadPoolExecutor, but instead use one of the the static factory methods in `Executors` to create one. For example:
class Runner { private final ExecutorService executor = Executors.newCachedThreadPool(); executor.execute(r); } }
java/threadpoolexecutor.1740208846.txt.gz · Last modified: by carl
