public class ExecutionOptions
Execution options
执行可选项
public ExecutionOptions(int parallelismDegree,
int queueSize,
@NotNull
kotlinx.coroutines.CoroutineDispatcher executor)
Execution options
执行可选项
parallelismDegree - 并行度(最大可提交多少任务)queueSize - 队列容量(最多允许多少任务排队)executor - 调度器public ExecutionOptions()
Execution options
执行可选项
public int getParallelismDegree()
并行度(最大可提交多少任务)
public int getQueueSize()
队列容量(最多允许多少任务排队)
@NotNull public kotlinx.coroutines.CoroutineDispatcher getExecutor()
调度器
public int component1()
并行度(最大可提交多少任务)
public int component2()
队列容量(最多允许多少任务排队)
@NotNull public kotlinx.coroutines.CoroutineDispatcher component3()
调度器
@NotNull public ExecutionOptions copy(int parallelismDegree, int queueSize, @NotNull kotlinx.coroutines.CoroutineDispatcher executor)
Execution options
执行可选项
parallelismDegree - 并行度(最大可提交多少任务)queueSize - 队列容量(最多允许多少任务排队)executor - 调度器@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)