@Override protected void doComplete() { if ((options & ON_COMPLETE) == ON_COMPLETE && log.isInfoEnabled()) { log.info("↧ " + concatId() + "onComplete()"); } super.doComplete(); }
@Override protected void doComplete() { if (TERMINATED.compareAndSet(this, 0, 1)) { if (tryDrain()) { super.doComplete(); } } }
@Override protected void doRequest(long n) { if (BackpressureUtils.getAndAdd(PENDING_UPDATER, this, n) == 0) { super.doRequest(n); if (!tryDrain()) { requestMissing(); } } else if (terminated == 1) { if (tryDrain() && TERMINATED.compareAndSet(this, 1, 2)) { super.doComplete(); } } }