Class KvStateService
- java.lang.Object
-
- org.apache.flink.runtime.taskexecutor.KvStateService
-
public class KvStateService extends Object
KvState related components of eachTaskExecutor
instance. This service can create the kvState registration for a single task.
-
-
Constructor Summary
Constructors Constructor Description KvStateService(KvStateRegistry kvStateRegistry, KvStateServer kvStateServer, KvStateClientProxy kvStateClientProxy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskKvStateRegistry
createKvStateTaskRegistry(JobID jobId, JobVertexID jobVertexId)
static KvStateService
fromConfiguration(TaskManagerServicesConfiguration taskManagerServicesConfiguration)
Creates and returns the KvState service.KvStateClientProxy
getKvStateClientProxy()
KvStateRegistry
getKvStateRegistry()
KvStateServer
getKvStateServer()
boolean
isShutdown()
void
shutdown()
void
start()
-
-
-
Constructor Detail
-
KvStateService
public KvStateService(KvStateRegistry kvStateRegistry, KvStateServer kvStateServer, KvStateClientProxy kvStateClientProxy)
-
-
Method Detail
-
getKvStateRegistry
public KvStateRegistry getKvStateRegistry()
-
getKvStateServer
public KvStateServer getKvStateServer()
-
getKvStateClientProxy
public KvStateClientProxy getKvStateClientProxy()
-
createKvStateTaskRegistry
public TaskKvStateRegistry createKvStateTaskRegistry(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
-
-