Example usage for Java org.springframework.integration.context OrderlyShutdownCapable fields, constructors, methods, implement or subclass
The text is from its open source code.
int | afterShutdown() Called after normal shutdown of schedulers, executors etc, and after the shutdown delay has elapsed, but before any forced shutdown of any remaining active scheduler/executor threads.Can optionally return the number of active messages still in process. |
int | beforeShutdown() Called before shutdown begins. |