Class JobManagerSharedServices
java.lang.Object
org.apache.flink.runtime.jobmaster.JobManagerSharedServices
-
Constructor Summary
ConstructorsConstructorDescriptionJobManagerSharedServices(ScheduledExecutorService futureExecutor, ExecutorService ioExecutor, LibraryCacheManager libraryCacheManager, ShuffleMaster<?> shuffleMaster, BlobWriter blobWriter) -
Method Summary
Modifier and TypeMethodDescriptionstatic JobManagerSharedServicesfromConfiguration(org.apache.flink.configuration.Configuration config, BlobServer blobServer, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler) voidshutdown()Shutdown theJobMasterservices.
-
Constructor Details
-
JobManagerSharedServices
public JobManagerSharedServices(ScheduledExecutorService futureExecutor, ExecutorService ioExecutor, LibraryCacheManager libraryCacheManager, ShuffleMaster<?> shuffleMaster, @Nonnull BlobWriter blobWriter)
-
-
Method Details
-
getFutureExecutor
-
getIoExecutor
-
getLibraryCacheManager
-
getShuffleMaster
-
getBlobWriter
-
shutdown
Shutdown theJobMasterservices.This method makes sure all services are closed or shut down, even when an exception occurred in the shutdown of one component. The first encountered exception is thrown, with successive exceptions added as suppressed exceptions.
- Throws:
Exception- The first Exception encountered during shutdown.
-
fromConfiguration
public static JobManagerSharedServices fromConfiguration(org.apache.flink.configuration.Configuration config, BlobServer blobServer, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler) throws Exception - Throws:
Exception
-