Class SmartLifecycleUpstreamManagerImpl

  • All Implemented Interfaces:
    Initializable, UpstreamManager, Closeable, AutoCloseable, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

    public class SmartLifecycleUpstreamManagerImpl
    extends UpstreamManagerImpl
    implements org.springframework.context.SmartLifecycle
    SmartLifecycle UpstreamManager implementation with graceful shutdown support
    Author:
    leijuan
    • Constructor Detail

      • SmartLifecycleUpstreamManagerImpl

        public SmartLifecycleUpstreamManagerImpl​(RSocketRequesterSupport rsocketRequesterSupport)
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface org.springframework.context.Lifecycle
      • stop

        public void stop()
        Specified by:
        stop in interface org.springframework.context.Lifecycle
      • stop

        public void stop​(@NotNull
                         @NotNull Runnable callback)
        Specified by:
        stop in interface org.springframework.context.SmartLifecycle
      • isRunning

        public boolean isRunning()
        Specified by:
        isRunning in interface org.springframework.context.Lifecycle