Class stl_LazyJComponent.SubscriptionImpl

java.lang.Object
com.jackmeng.stl.stl_LazyJComponent.SubscriptionImpl
All Implemented Interfaces:
java.util.concurrent.Flow.Subscription
Enclosing class:
stl_LazyJComponent

private static class stl_LazyJComponent.SubscriptionImpl
extends java.lang.Object
implements java.util.concurrent.Flow.Subscription
  • Field Summary

    Fields
    Modifier and Type Field Description
    private boolean isCanceled  
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    private SubscriptionImpl()  
  • Method Summary

    Modifier and Type Method Description
    void cancel()  
    boolean isCanceled()  
    void request​(long n)  

    Methods inherited from class java.lang.Object

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

    • isCanceled

      private volatile boolean isCanceled
  • Constructor Details

    • SubscriptionImpl

      private SubscriptionImpl()
  • Method Details

    • request

      public void request​(long n)
      Specified by:
      request in interface java.util.concurrent.Flow.Subscription
    • cancel

      public void cancel()
      Specified by:
      cancel in interface java.util.concurrent.Flow.Subscription
    • isCanceled

      public boolean isCanceled()