类 ParallelMapTransform.BatchedTaskSplitter<K,U,V>
java.lang.Object
net.minecraft.util.thread.ParallelMapTransform.SplitterBase<K,U,V>
net.minecraft.util.thread.ParallelMapTransform.BatchedTaskSplitter<K,U,V>
- 封闭类:
ParallelMapTransform
static class ParallelMapTransform.BatchedTaskSplitter<K,U,V>
extends ParallelMapTransform.SplitterBase<K,U,V>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected int
batchSize
(int p_405542_) private static <K,
U, V> Runnable createTask
(Map<K, V> p_404882_, int p_404840_, int p_405439_, ParallelMapTransform.Container<K, U, V> p_405382_) protected CompletableFuture
<?> scheduleBatch
(ParallelMapTransform.Container<K, U, V> p_405061_, int p_405498_, int p_405344_, Executor p_404656_) protected CompletableFuture
<Map<K, V>> scheduleFinalOperation
(CompletableFuture<?> p_405225_, ParallelMapTransform.Container<K, U, V> p_404779_) 从类继承的方法 net.minecraft.util.thread.ParallelMapTransform.SplitterBase
scheduleTasks
-
字段详细资料
-
result
-
batchSize
private final int batchSize -
firstUndersizedBatchIndex
private final int firstUndersizedBatchIndex
-
-
构造器详细资料
-
BatchedTaskSplitter
BatchedTaskSplitter(BiFunction<K, U, V> p_405224_, int p_405356_, int p_405090_)
-
-
方法详细资料
-
scheduleBatch
protected CompletableFuture<?> scheduleBatch(ParallelMapTransform.Container<K, U, V> p_405061_, int p_405498_, int p_405344_, Executor p_404656_) - 指定者:
scheduleBatch
在类中ParallelMapTransform.SplitterBase<K,
U, V>
-
batchSize
protected int batchSize(int p_405542_) - 指定者:
batchSize
在类中ParallelMapTransform.SplitterBase<K,
U, V>
-
createTask
private static <K,U, Runnable createTaskV> (Map<K, V> p_404882_, int p_404840_, int p_405439_, ParallelMapTransform.Container<K, U, V> p_405382_) -
scheduleFinalOperation
protected CompletableFuture<Map<K,V>> scheduleFinalOperation(CompletableFuture<?> p_405225_, ParallelMapTransform.Container<K, U, V> p_404779_)
-