public class ShutdownService extends Object implements AutoCloseable
This class can be used to register closing callbacks, call them individually, and/or call all
of them (in LIFO order) with the close() method.
From https://github.com/rabbitmq/rabbitmq-perf-test/blob/main/src/main/java/com/rabbitmq/perf/ShutdownService.java.
| Constructor and Description |
|---|
ShutdownService() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close all the registered callbacks, in the reverse order of registration.
|
public void close()
close in interface AutoCloseableCopyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.