778779780781782783784785786787788
//Verify 60 msgs in store assertEquals(60, ms.size()); //Verify 60 refs in queue assertEquals(60, queue.memoryRefCount()); //Verify 0 refs in downcache assertEquals(0, queue.downCacheCount()); //Verify not paging
820821822823824825826827828829830
//Verify 100 msgs in store assertEquals(100, ms.size()); //Verify 100 refs in queue assertEquals(100, queue.memoryRefCount()); //Verify 0 refs in downcache assertEquals(0, queue.downCacheCount()); //Verify paging
860861862863864865866867868869870
//Verify 120 msgs in store assertEquals(120, ms.size()); //Verify 100 refs in queue assertEquals(100, queue.memoryRefCount()); //Verify paging assertTrue(queue.isPaging()); //Verify 20 deliveries
901902903904905906907908909910911
//Verify 120 msgs in store assertEquals(120, ms.size()); //Verify 100 refs in queue assertEquals(100, queue.memoryRefCount()); //Verify paging assertTrue(queue.isPaging()); //Verify 13 deliveries
942943944945946947948949950951952
//Verify 110 msgs in store assertEquals(110, ms.size()); //Verify 100 refs in queue assertEquals(100, queue.memoryRefCount()); //Verify paging assertTrue(queue.isPaging()); //Verify 10 deliveries
986987988989990991992993994995996
//Verify 100 msgs in store assertEquals(100, ms.size()); //Verify 100 refs in queue assertEquals(100, queue.memoryRefCount()); //Verify paging assertTrue(queue.isPaging()); //Verify 0 deliveries
10231024102510261027102810291030103110321033
//Verify 70 msgs in store assertEquals(70, ms.size()); //Verify 70 refs in queue assertEquals(70, queue.memoryRefCount()); //Verify not paging assertFalse(queue.isPaging()); //Verify 0 deliveries
10551056105710581059106010611062106310641065
//Verify 0 msgs in store assertEquals(0, ms.size()); //Verify 0 refs in queue assertEquals(0, queue.memoryRefCount()); //Make sure there are no more refs in queue assertEquals(0, queue.getMessageCount());
9899100101102103104105106107108
//Verify 99 msgs in store assertEquals(99, ms.size()); //Verify 99 refs in queue assertEquals(99, queue.memoryRefCount()); //Verify 0 refs in downcache assertEquals(0, queue.downCacheCount()); //Verify not paging
135136137138139140141142143144145