public class DynamicPooledExecutor extends Object implements Executor
DynamicPooledExecutor implements an executor, which dynamically
adjusts its maximum number of threads according to the number of available
processors returned by Runtime.availableProcessors().| Constructor and Description |
|---|
DynamicPooledExecutor()
Creates a new DynamicPooledExecutor.
|
public DynamicPooledExecutor()
public void execute(Runnable command)
public void close()
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.