类 FileSystemBasedArtifactFetcher
- java.lang.Object
-
- org.apache.flink.kubernetes.operator.artifact.FileSystemBasedArtifactFetcher
-
- 所有已实现的接口:
ArtifactFetcher
public class FileSystemBasedArtifactFetcher extends java.lang.Object implements ArtifactFetcher
Leverage the flink filesystem plugin to fetch the artifact.
-
-
字段概要
字段 修饰符和类型 字段 说明 static FileSystemBasedArtifactFetcherINSTANCEstatic org.slf4j.LoggerLOG
-
构造器概要
构造器 构造器 说明 FileSystemBasedArtifactFetcher()
-
-
-
字段详细资料
-
LOG
public static final org.slf4j.Logger LOG
-
INSTANCE
public static final FileSystemBasedArtifactFetcher INSTANCE
-
-
方法详细资料
-
fetch
public java.io.File fetch(java.lang.String uri, org.apache.flink.configuration.Configuration flinkConfiguration, java.io.File targetDir) throws java.lang.Exception从接口复制的说明:ArtifactFetcherFetch the resource from the uri to the targetDir.- 指定者:
fetch在接口中ArtifactFetcher- 参数:
uri- The artifact to be fetched.flinkConfiguration- Flink configuration.targetDir- The target dir to put the artifact.- 返回:
- The path of the fetched artifact.
- 抛出:
java.lang.Exception- Error during fetching the artifact.
-
-