712713714715716717718719720721722
jbcm.stop(); if (restartCache) { cache.stop(); cache.destroy(); caches.remove(cache); passDir = getPassivationDir(testCount, 1); jbcm = SessionTestUtil.createManager("test" + testCount, 5, true, passDir, false, false, null, caches); }
839840841842843844845846847848849
if (fullRestart) { jbcm1.stop(); cache1.stop(); cache1.destroy(); caches.remove(cache1); } jbcm.stop();
105106107108109110111112113114115
try { PojoCache pc = pojoCaches[i]; pojoCaches[i] = null; pc.stop(); pc.destroy(); } catch (Exception ex) { log.error("Failed stopping cache " + i); }
9596979899100101102103104105
} try { cache.stop(); cache.destroy(); } catch (Exception e) { log.error("Cache " + cache + ": " + e.getMessage(), e); }