public class DefaultExecutionGraphCache extends Object implements ExecutionGraphCache
ExecutionGraphCache.| 构造器和说明 |
|---|
DefaultExecutionGraphCache(org.apache.flink.api.common.time.Time timeout,
org.apache.flink.api.common.time.Time timeToLive) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cleanup()
Perform the cleanup of out dated cache entries.
|
void |
close()
Closes the execution graph cache.
|
CompletableFuture<ExecutionGraphInfo> |
getExecutionGraphInfo(org.apache.flink.api.common.JobID jobId,
RestfulGateway restfulGateway)
Gets the
ExecutionGraphInfo for the given JobID and caches it. |
int |
size()
Gets the number of cache entries.
|
public DefaultExecutionGraphCache(org.apache.flink.api.common.time.Time timeout,
org.apache.flink.api.common.time.Time timeToLive)
public void close()
ExecutionGraphCacheclose 在接口中 Closeableclose 在接口中 AutoCloseableclose 在接口中 ExecutionGraphCachepublic int size()
ExecutionGraphCachesize 在接口中 ExecutionGraphCachepublic CompletableFuture<ExecutionGraphInfo> getExecutionGraphInfo(org.apache.flink.api.common.JobID jobId, RestfulGateway restfulGateway)
ExecutionGraphCacheExecutionGraphInfo for the given JobID and caches it. The ExecutionGraphInfo will be requested again after the refresh interval has passed or if the
graph could not be retrieved from the given gateway.getExecutionGraphInfo 在接口中 ExecutionGraphCachejobId - identifying the ExecutionGraphInfo to getrestfulGateway - to request the ExecutionGraphInfo fromExecutionGraphInfopublic void cleanup()
ExecutionGraphCachecleanup 在接口中 ExecutionGraphCacheCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.