public class ActorGatewayKvStateRegistryListener extends Object implements KvStateRegistryListener
ActorGateway to forward key-value state notifications to the job
manager. The notifications are wrapped in an actor message and send to the given actor gateway.| Constructor and Description |
|---|
ActorGatewayKvStateRegistryListener(ActorGateway jobManager,
InetSocketAddress kvStateServerAddress) |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyKvStateRegistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
org.apache.flink.queryablestate.KvStateID kvStateId)
Notifies the listener about a registered KvState instance.
|
void |
notifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName)
Notifies the listener about an unregistered KvState instance.
|
public ActorGatewayKvStateRegistryListener(ActorGateway jobManager, InetSocketAddress kvStateServerAddress)
public void notifyKvStateRegistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
org.apache.flink.queryablestate.KvStateID kvStateId)
KvStateRegistryListenernotifyKvStateRegistered in interface KvStateRegistryListenerjobId - 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(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName)
KvStateRegistryListenernotifyKvStateUnregistered in interface KvStateRegistryListenerjobId - 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–2019 The Apache Software Foundation. All rights reserved.