90919293949596979899100
// already done, that was fast; } // make sure that in any case, the network buffers are all returned waitForTaskThreadsToBeTerminated(); assertEquals(bp.numBuffers(), bp.numAvailableBuffers()); } finally { jm.shutdown(); } }
102103104105106107108109110111112
eg.waitForJobEnd(); // make sure that in any case, the network buffers are all returned waitForTaskThreadsToBeTerminated(); assertTrue(bp1.isDestroyed() || bp1.numBuffers() == bp1.numAvailableBuffers()); assertTrue(bp2.isDestroyed() || bp2.numBuffers() == bp2.numAvailableBuffers()); } finally { jm.shutdown(); } }
104105106107108109110111112113114
// make sure that in any case, the network buffers are all returned waitForTaskThreadsToBeTerminated(); assertEquals(bp.numBuffers(), bp.numAvailableBuffers()); } finally { jm.shutdown(); } }
176177178179180181182183184185186
229230231232233234235236237238239
288289290291292293294295296297298
347348349350351352353354355356357
410411412413414415416417418419420
473474475476477478479480481482483
534535536537538539540541542543544