public interface ExecutionGraphCache extends Closeable
ExecutionGraphInfo which are obtained from the Flink cluster. Every cache entry
has an associated time to live after which a new request will trigger the reloading of the ExecutionGraphInfo from the cluster.| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
int size()
CompletableFuture<ExecutionGraphInfo> getExecutionGraphInfo(org.apache.flink.api.common.JobID jobId, RestfulGateway restfulGateway)
ExecutionGraphInfo 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.jobId - identifying the ExecutionGraphInfo to getrestfulGateway - to request the ExecutionGraphInfo fromExecutionGraphInfovoid cleanup()
void close()
close 在接口中 AutoCloseableclose 在接口中 CloseableCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.