@PublicEvolving public interface DynamicParallelismInference
The implementations typically work together with the Source
and are currently only
effective for batch jobs that use the adaptive batch scheduler.
Modifier and Type | Interface and Description |
---|---|
static interface |
DynamicParallelismInference.Context
A context that provides dynamic parallelism decision infos.
|
Modifier and Type | Method and Description |
---|---|
int |
inferParallelism(DynamicParallelismInference.Context context)
The method is invoked on the master (JobManager) before the initialization of the source
vertex.
|
int inferParallelism(DynamicParallelismInference.Context context)
context
- The context to get dynamic parallelism decision infos.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.