public class RpcKvStateRegistryListener extends Object implements KvStateRegistryListener
KvStateRegistryListener
implementation for the new RPC service.Constructor and Description |
---|
RpcKvStateRegistryListener(KvStateRegistryGateway kvStateRegistryGateway,
InetSocketAddress kvStateServerAddress) |
Modifier and Type | Method and Description |
---|---|
void |
notifyKvStateRegistered(JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
KvStateID kvStateId)
Notifies the listener about a registered KvState instance.
|
void |
notifyKvStateUnregistered(JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName)
Notifies the listener about an unregistered KvState instance.
|
public RpcKvStateRegistryListener(KvStateRegistryGateway kvStateRegistryGateway, InetSocketAddress kvStateServerAddress)
public void notifyKvStateRegistered(JobID jobId, JobVertexID jobVertexId, KeyGroupRange keyGroupRange, String registrationName, KvStateID kvStateId)
KvStateRegistryListener
notifyKvStateRegistered
in interface KvStateRegistryListener
jobId
- Job ID the KvState instance belongs tojobVertexId
- JobVertexID the KvState instance belongs tokeyGroupRange
- Key group range the KvState instance belongs toregistrationName
- Name under which the KvState is registeredkvStateId
- ID of the KvState instancepublic void notifyKvStateUnregistered(JobID jobId, JobVertexID jobVertexId, KeyGroupRange keyGroupRange, String registrationName)
KvStateRegistryListener
notifyKvStateUnregistered
in interface KvStateRegistryListener
jobId
- Job ID the KvState instance belongs tojobVertexId
- JobVertexID the KvState instance belongs tokeyGroupRange
- Key group range the KvState instance belongs toregistrationName
- Name under which the KvState is registeredCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.