18311832183318341835183618371838183918401841
{ //attempt delivery. returns true if no further delivery currently possible to this sub subscriptionDone = attemptDelivery(sub, true); if (subscriptionDone) { sub.flushBatched(); if (lastLoop && !sub.isSuspended()) { sub.queueEmpty(); } break;
18461847184818491850185118521853185418551856
//keep going after this (if iteration slicing allows it) allSubscriptionsDone = false; lastLoop = false; if(--iterations == 0) { sub.flushBatched(); break; } } }
18531854185518561857185818591860186118621863
} } } sub.flushBatched(); } finally { sub.releaseSendLock(); }
18751876187718781879188018811882188318841885
18901891189218931894189518961897189818991900
18971898189919001901190219031904190519061907
18301831183218331834183518361837183818391840
18451846184718481849185018511852185318541855
18521853185418551856185718581859186018611862
18321833183418351836183718381839184018411842