Package io.grpc.xds

Class FilterChainMatchingProtocolNegotiators.GracefullyShutdownChannelRunnable

java.lang.Object
io.grpc.xds.FilterChainMatchingProtocolNegotiators.GracefullyShutdownChannelRunnable
All Implemented Interfaces:
Runnable
Enclosing class:
FilterChainMatchingProtocolNegotiators

private static class FilterChainMatchingProtocolNegotiators.GracefullyShutdownChannelRunnable extends Object implements Runnable
  • Field Details

    • channel

      private final io.netty.channel.Channel channel
    • drainGraceTime

      private final long drainGraceTime
    • drainGraceTimeUnit

      @Nullable private final TimeUnit drainGraceTimeUnit
  • Constructor Details

    • GracefullyShutdownChannelRunnable

      public GracefullyShutdownChannelRunnable(io.netty.channel.Channel channel, long drainGraceTime, @Nullable TimeUnit drainGraceTimeUnit)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable