public class FileSystemJobResultStore extends AbstractThreadsafeJobResultStore
JobResultStore which persists job result data to an underlying
distributed filesystem.| 限定符和类型 | 方法和说明 |
|---|---|
static String |
createDefaultJobResultStorePath(String baseDir,
String clusterId) |
void |
createDirtyResultInternal(JobResultEntry jobResultEntry) |
static FileSystemJobResultStore |
fromConfiguration(org.apache.flink.configuration.Configuration config) |
Set<JobResult> |
getDirtyResultsInternal() |
boolean |
hasCleanJobResultEntryInternal(org.apache.flink.api.common.JobID jobId) |
boolean |
hasDirtyJobResultEntryInternal(org.apache.flink.api.common.JobID jobId) |
static boolean |
hasValidDirtyJobResultStoreEntryExtension(String filename) |
static boolean |
hasValidJobResultStoreEntryExtension(String filename) |
void |
markResultAsCleanInternal(org.apache.flink.api.common.JobID jobId) |
createDirtyResult, getDirtyResults, hasCleanJobResultEntry, hasDirtyJobResultEntry, hasJobResultEntry, markResultAsClean@VisibleForTesting public static boolean hasValidDirtyJobResultStoreEntryExtension(String filename)
@VisibleForTesting public static boolean hasValidJobResultStoreEntryExtension(String filename)
public static FileSystemJobResultStore fromConfiguration(org.apache.flink.configuration.Configuration config) throws IOException
IOExceptionpublic static String createDefaultJobResultStorePath(String baseDir, String clusterId)
public void createDirtyResultInternal(JobResultEntry jobResultEntry) throws IOException
public void markResultAsCleanInternal(org.apache.flink.api.common.JobID jobId)
throws IOException,
NoSuchElementException
public boolean hasDirtyJobResultEntryInternal(org.apache.flink.api.common.JobID jobId)
throws IOException
public boolean hasCleanJobResultEntryInternal(org.apache.flink.api.common.JobID jobId)
throws IOException
public Set<JobResult> getDirtyResultsInternal() throws IOException
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.