Interface EmbeddedJobClientCreator
@Internal
public interface EmbeddedJobClientCreator
An interface to be implemented by
JobClient suppliers.-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.core.execution.JobClientgetJobClient(org.apache.flink.api.common.JobID jobId, ClassLoader userCodeClassloader) Creates aJobClientthat is adequate for the context in which the job is executed.
-
Method Details
-
getJobClient
org.apache.flink.core.execution.JobClient getJobClient(org.apache.flink.api.common.JobID jobId, ClassLoader userCodeClassloader) Creates aJobClientthat is adequate for the context in which the job is executed.- Parameters:
jobId- the job id of the job associated with the returned client.userCodeClassloader- the class loader to deserialize user code.- Returns:
- the job client.
-