Class RpcInputSplitProvider
- java.lang.Object
-
- org.apache.flink.runtime.taskexecutor.rpc.RpcInputSplitProvider
-
- All Implemented Interfaces:
InputSplitProvider
public class RpcInputSplitProvider extends Object implements InputSplitProvider
-
-
Constructor Summary
Constructors Constructor Description RpcInputSplitProvider(JobMasterGateway jobMasterGateway, JobVertexID jobVertexID, ExecutionAttemptID executionAttemptID, Duration timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.core.io.InputSplit
getNextInputSplit(ClassLoader userCodeClassLoader)
Requests the next input split to be consumed by the calling task.
-
-
-
Constructor Detail
-
RpcInputSplitProvider
public RpcInputSplitProvider(JobMasterGateway jobMasterGateway, JobVertexID jobVertexID, ExecutionAttemptID executionAttemptID, Duration timeout)
-
-
Method Detail
-
getNextInputSplit
public org.apache.flink.core.io.InputSplit getNextInputSplit(ClassLoader userCodeClassLoader) throws InputSplitProviderException
Description copied from interface:InputSplitProvider
Requests the next input split to be consumed by the calling task.- Specified by:
getNextInputSplit
in interfaceInputSplitProvider
- Parameters:
userCodeClassLoader
- used to deserialize input splits- Returns:
- the next input split to be consumed by the calling task or
null
if the task shall not consume any further input splits. - Throws:
InputSplitProviderException
- if fetching the next input split fails
-
-