protected DeadlockDetectingLockManager lm0;
protected DeadlockDetectingLockManager lm1;
@BeforeMethod(alwaysRun=true)
public void beforeMethod() {
ex0 = new PerCacheExecutorThread(cache(0), 0);
ex1 = new PerCacheExecutorThread(cache(1), 1);
lm0 = (DeadlockDetectingLockManager) TestingUtil.extractLockManager(cache(0));
lm0.setExposeJmxStats(true);
lm1 = (DeadlockDetectingLockManager) TestingUtil.extractLockManager(cache(1));
lm1.setExposeJmxStats(true);