Uses of Class
org.apache.pulsar.common.util.GracefulExecutorServicesShutdown
Packages that use GracefulExecutorServicesShutdown
-
Uses of GracefulExecutorServicesShutdown in org.apache.pulsar.common.util
Methods in org.apache.pulsar.common.util that return GracefulExecutorServicesShutdownModifier and TypeMethodDescriptionGracefulExecutorServicesShutdown.initiate()Initiates a new shutdown for one or manyExecutorServices.GracefulExecutorServicesShutdown.shutdown(ExecutorService... executorServices) CallsExecutorService.shutdown()and enlists the executor as part of the shutdown handling.GracefulExecutorServicesShutdown.terminationTimeout(Duration terminationTimeout) Sets the timeout for waiting for executors to complete in forceful termination.Sets the timeout for graceful shutdown.