public class ActorGatewayKvStateLocationOracle extends Object implements KvStateLocationOracle
KvStateLocationOracle
implementation for ActorGateway
.Constructor and Description |
---|
ActorGatewayKvStateLocationOracle(ActorGateway jobManagerActorGateway,
Time timeout) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<KvStateLocation> |
requestKvStateLocation(JobID jobId,
String registrationName)
Requests a
KvStateLocation for the specified InternalKvState registration name. |
public ActorGatewayKvStateLocationOracle(ActorGateway jobManagerActorGateway, Time timeout)
public CompletableFuture<KvStateLocation> requestKvStateLocation(JobID jobId, String registrationName)
KvStateLocationOracle
KvStateLocation
for the specified InternalKvState
registration name.requestKvStateLocation
in interface KvStateLocationOracle
jobId
- identifying the job for which to request the KvStateLocation
registrationName
- Name under which the KvState has been registered.InternalKvState
locationCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.