Class NettySessionInitializer


  • public class NettySessionInitializer
    extends Object
    Initialises an outgoing netty channel for outbound S2S
    • Field Detail

      • GRACEFUL_SHUTDOWN_QUIET_PERIOD

        public static final SystemProperty<Duration> GRACEFUL_SHUTDOWN_QUIET_PERIOD
        The inactivity duration after which a Netty executor can be shutdown gracefully.
      • GRACEFUL_SHUTDOWN_TIMEOUT

        public static final SystemProperty<Duration> GRACEFUL_SHUTDOWN_TIMEOUT
        The maximum amount of time to wait until a Netty executor is shutdown regardless if a task was submitted during the quiet period.
    • Constructor Detail

      • NettySessionInitializer

        public NettySessionInitializer​(DomainPair domainPair,
                                       int port)