@After public void cleanup() throws IOException { if (reuseQueue) { queue.clear(); } else { queue.dispose(); } }
@AfterClass public static void cleanupClass() throws IOException { if (queue != null) { queue.dispose(); } }