| Package | Description |
|---|---|
| org.apache.pulsar.broker.service |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Method and Description |
|---|---|
static GracefulExecutorServicesShutdown |
GracefulExecutorServicesShutdown.initiate()
Initiates a new shutdown for one or many
ExecutorServices. |
GracefulExecutorServicesShutdown |
GracefulExecutorServicesShutdown.shutdown(ExecutorService... executorServices)
Calls
ExecutorService.shutdown() and enlists the executor as part of the
shutdown handling. |
GracefulExecutorServicesShutdown |
GracefulExecutorServicesShutdown.terminationTimeout(Duration terminationTimeout)
Sets the timeout for waiting for executors to complete in forceful termination.
|
GracefulExecutorServicesShutdown |
GracefulExecutorServicesShutdown.timeout(Duration timeout)
Sets the timeout for graceful shutdown.
|
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.