Package io.grpc.netty

Class WriteQueue.RunnableCommand

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private io.perfmark.Link link  
      private java.lang.Runnable runnable  
    • Constructor Summary

      Constructors 
      Constructor Description
      RunnableCommand​(java.lang.Runnable runnable)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.perfmark.Link getLink()  
      io.netty.channel.ChannelPromise promise()
      Returns the promise beeing notified of the success/failure of the write.
      void promise​(io.netty.channel.ChannelPromise promise)
      Sets the promise.
      void run​(io.netty.channel.Channel channel)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • runnable

        private final java.lang.Runnable runnable
      • link

        private final io.perfmark.Link link
    • Constructor Detail

      • RunnableCommand

        public RunnableCommand​(java.lang.Runnable runnable)