Class HybridCommandShutdown

  • All Implemented Interfaces:
    com.networknt.server.ShutdownHookProvider

    public class HybridCommandShutdown
    extends Object
    implements com.networknt.server.ShutdownHookProvider
    This is a shared shutdown hook for command side services. It only needs to be registered once in the service.yml file.
    Author:
    Steve Hu
    • Constructor Detail

      • HybridCommandShutdown

        public HybridCommandShutdown()
    • Method Detail

      • onShutdown

        public void onShutdown()
        Specified by:
        onShutdown in interface com.networknt.server.ShutdownHookProvider