Class KvStateService
java.lang.Object
org.apache.flink.runtime.taskexecutor.KvStateService
KvState related components of each
TaskExecutor instance. This service can create the
kvState registration for a single task.-
Constructor Summary
ConstructorsConstructorDescriptionKvStateService(KvStateRegistry kvStateRegistry, KvStateServer kvStateServer, KvStateClientProxy kvStateClientProxy) -
Method Summary
Modifier and TypeMethodDescriptioncreateKvStateTaskRegistry(org.apache.flink.api.common.JobID jobId, JobVertexID jobVertexId) static KvStateServicefromConfiguration(TaskManagerServicesConfiguration taskManagerServicesConfiguration) Creates and returns the KvState service.booleanvoidshutdown()voidstart()
-
Constructor Details
-
KvStateService
public KvStateService(KvStateRegistry kvStateRegistry, KvStateServer kvStateServer, KvStateClientProxy kvStateClientProxy)
-
-
Method Details
-
getKvStateRegistry
-
getKvStateServer
-
getKvStateClientProxy
-
createKvStateTaskRegistry
public TaskKvStateRegistry createKvStateTaskRegistry(org.apache.flink.api.common.JobID jobId, JobVertexID jobVertexId) -
start
public void start() -
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
fromConfiguration
public static KvStateService fromConfiguration(TaskManagerServicesConfiguration taskManagerServicesConfiguration) Creates and returns the KvState service.- Parameters:
taskManagerServicesConfiguration- task manager configuration- Returns:
- service for kvState related components
-