@Override public void destroy() throws Exception { txManager.stopAndWait(); } }
@Override public void destroy() throws Exception { txManager.stopAndWait(); } }
public void shutDown() { try { if (controller != null) { controller.stop().get(); } metricsCollectionService.stopAndWait(); txService.stopAndWait(); FileUtils.deleteDirectory(localDataDir); FileUtils.deleteDirectory(jarUnpackDir); runLatch.countDown(); } catch (Exception e) { LOG.warn(e.getMessage(), e); } }
@Override protected void doStop() { undoRegister(); txManager.stopAndWait(); notifyStopped(); }
@Override protected void doStop() { undoRegister(); txManager.stopAndWait(); notifyStopped(); }
@After public void tearDown() throws Exception { txManager.stopAndWait(); } }
@After public void after() { txManager.stopAndWait(); }
@AfterClass public static void after() { txManager.stopAndWait(); }
txManager.stopAndWait(); txManager2.stopAndWait();
Assert.assertEquals(0, snapshot1.getInvalid().size()); } finally { txm.stopAndWait();
txManager.stopAndWait(); txManager.stopAndWait();
Assert.assertEquals(0, snapshot1.getCommittingChangeSets().size()); } finally { txm.stopAndWait();
Assert.assertEquals(0, snapshot1.getCommittedChangeSets().size()); } finally { txm.stopAndWait();
txm2.getCurrentState().getInProgress().keySet()); } finally { txm1.stopAndWait(); if (txm2 != null) { txm2.stopAndWait();
Assert.assertEquals(0, snapshot.getCommittedChangeSets().size()); } finally { txm.stopAndWait();
txm2.getCurrentState().getInProgress().keySet()); } finally { txm1.stopAndWait(); if (txm2 != null) { txm2.stopAndWait();
Assert.assertEquals(1, txm.getExcludedListSize()); } finally { txm.stopAndWait();
txManager.stopAndWait(); TransactionSnapshot origState = txManager.getCurrentState(); LOG.info("Orig state: " + origState);