接口 Executor.Builder<T extends Executor>

所有已知实现类:
ClassLoaderModelExecutor.Builder, ClassModelExecutor.Builder, ObjectGetClassExecutor.Builder, ReflectiveModelExecutor.Builder, StringReflectionExecutor.Builder
封闭接口:
Executor

public static interface Executor.Builder<T extends Executor>
A builder for the executor. It's important for each concrete executor to provide one in order to be able to construct a fresh copy of the executor when needed

For example this happens in ExecutingInvocationUnit.Builder, since each invocation unit should use different executors in order to avoid undesired side effects.

  • 方法概要

    修饰符和类型
    方法
    说明
    Build an executor.
  • 方法详细资料

    • build

      T build()
      Build an executor. If the executor keeps internal state this method needs to guarantee that no data is shared between the different implementations (unless needed by design, e.g., for caching).