类 OutputStreamPublisher.OutputStreamSubscription

java.lang.Object
java.io.OutputStream
cn.taketoday.core.io.buffer.OutputStreamPublisher.OutputStreamSubscription
所有已实现的接口:
Closeable, Flushable, AutoCloseable, org.reactivestreams.Subscription
封闭类:
OutputStreamPublisher

private static final class OutputStreamPublisher.OutputStreamSubscription extends OutputStream implements org.reactivestreams.Subscription
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • write

      public void write(int b) throws IOException
      指定者:
      write 在类中 OutputStream
      抛出:
      IOException
    • write

      public void write(byte[] b) throws IOException
      覆盖:
      write 在类中 OutputStream
      抛出:
      IOException
    • write

      public void write(byte[] b, int off, int len) throws IOException
      覆盖:
      write 在类中 OutputStream
      抛出:
      IOException
    • checkDemandAndAwaitIfNeeded

      private void checkDemandAndAwaitIfNeeded() throws IOException
      抛出:
      IOException
    • invokeHandler

      public void invokeHandler()
    • request

      public void request(long n)
      指定者:
      request 在接口中 org.reactivestreams.Subscription
    • cancel

      public void cancel()
      指定者:
      cancel 在接口中 org.reactivestreams.Subscription
    • await

      private void await()
    • resume

      private void resume()
    • tryCancel

      private long tryCancel()
    • tryTerminate

      private long tryTerminate()
    • tryProduce

      private long tryProduce(long n)
    • addCap

      private long addCap(long n)
    • isTerminated

      private static boolean isTerminated(long state)
    • isCancelled

      private static boolean isCancelled(long state)
    • addCap

      private static long addCap(long a, long b)