类 HttpArtifactFetcher
- java.lang.Object
-
- org.apache.flink.kubernetes.operator.artifact.HttpArtifactFetcher
-
- 所有已实现的接口:
ArtifactFetcher
public class HttpArtifactFetcher extends java.lang.Object implements ArtifactFetcher
Download the jar from the http resource.
-
-
字段概要
字段 修饰符和类型 字段 说明 static HttpArtifactFetcherINSTANCEstatic org.slf4j.LoggerLOG
-
构造器概要
构造器 构造器 说明 HttpArtifactFetcher()
-
-
-
字段详细资料
-
LOG
public static final org.slf4j.Logger LOG
-
INSTANCE
public static final HttpArtifactFetcher 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.
-
-