Interface KvStateLocationOracle
- All Known Subinterfaces:
JobMasterGateway
- All Known Implementing Classes:
JobMaster
public interface KvStateLocationOracle
Oracle for
KvStateLocation in the cluster. In order to answer InternalKvState
location requests, the TaskExecutor have to register and unregister their respective
key-value states at the oracle.-
Method Summary
Modifier and TypeMethodDescriptionrequestKvStateLocation(org.apache.flink.api.common.JobID jobId, String registrationName) Requests aKvStateLocationfor the specifiedInternalKvStateregistration name.
-
Method Details
-
requestKvStateLocation
CompletableFuture<KvStateLocation> requestKvStateLocation(org.apache.flink.api.common.JobID jobId, String registrationName) Requests aKvStateLocationfor the specifiedInternalKvStateregistration name.- Parameters:
jobId- identifying the job for which to request theKvStateLocationregistrationName- Name under which the KvState has been registered.- Returns:
- Future of the requested
InternalKvStatelocation
-