类 ParallelAllClassVisitor
- java.lang.Object
-
- proguard.classfile.visitor.ParallelAllClassVisitor
-
- 所有已实现的接口:
ClassPoolVisitor
public class ParallelAllClassVisitor extends java.lang.Object implements ClassPoolVisitor
ThisClassPoolVisitorwill visit all Clazz instances of the class pool in a parallel way. For each thread, a separateClassVisitorwill be created usingParallelAllClassVisitor.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.threadsto an integer > 0.
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static interfaceParallelAllClassVisitor.ClassVisitorFactoryA factory forClassVisitorobjects.
-
构造器概要
构造器 构造器 说明 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.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidvisitClassPool(ClassPool classPool)
-
-
-
构造器详细资料
-
ParallelAllClassVisitor
public 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.
-
-
方法详细资料
-
visitClassPool
public void visitClassPool(ClassPool classPool)
- 指定者:
visitClassPool在接口中ClassPoolVisitor
-
-