类 ParallelAllClassVisitor
java.lang.Object
proguard.classfile.visitor.ParallelAllClassVisitor
- 所有已实现的接口:
ClassPoolVisitor
This
ClassPoolVisitor will visit all Clazz instances of the class pool in a parallel way.
For each thread, a separate ClassVisitor will be created using ParallelAllClassVisitor.ClassVisitorFactory.createClassVisitor().
The number of parallel threads is coupled to the number of available processors:
parallel_threads = Runtime.getRuntime().availableProcessors() - 1;
It is possible to override the number of threads by setting the environment variable
parallel.threads to an integer > 0.
-
嵌套类概要
嵌套类 -
构造器概要
构造器构造器说明ParallelAllClassVisitor(ParallelAllClassVisitor.ClassVisitorFactory classVisitorFactory) Create a new ParallelAllClassVisitor that will use the given factory to visit all classes in a ClassPool in a parallel way. -
方法概要
-
构造器详细资料
-
ParallelAllClassVisitor
Create a new ParallelAllClassVisitor that will use the given factory to visit all classes in a ClassPool in a parallel way.
-
-
方法详细资料
-
visitClassPool
- 指定者:
visitClassPool在接口中ClassPoolVisitor
-