public class DatabaseClusterLockStatisticsTest extends Object
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
exceptionRule |
| Constructor and Description |
|---|
DatabaseClusterLockStatisticsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testLockInterruptibly_interruptedBeforeFirstTry() |
void |
testLockInterruptibly_interruptedBetweenTries() |
void |
testLockInterruptibly_releasedBetweenTries() |
void |
testLockUnlock() |
void |
testNoStatsForUntouchedLock() |
void |
testTryLock_failureLocal() |
void |
testTryLock_failureRemote() |
void |
testTryLock_localForcedAbandoned() |
void |
testTryLock_nonStateExceptionOnLock() |
void |
testTryLock_nonStateExceptionOnUnlock() |
void |
testTryLock_stateExceptionOnLock() |
void |
testTryLock_stateExceptionOnUnlock() |
void |
testTryLock_success() |
void |
testTryLockTimed_interruptedBetweenTries() |
void |
testTryLockTimed_releasedBetweenTries() |
void |
unlockInDao() |
public void testNoStatsForUntouchedLock()
public void testLockUnlock()
public void testLockInterruptibly_interruptedBeforeFirstTry()
public void testLockInterruptibly_interruptedBetweenTries()
public void testTryLockTimed_interruptedBetweenTries()
public void testLockInterruptibly_releasedBetweenTries()
throws InterruptedException
InterruptedExceptionpublic void testTryLockTimed_releasedBetweenTries()
throws InterruptedException
InterruptedExceptionpublic void testTryLock_localForcedAbandoned()
throws InterruptedException
InterruptedExceptionpublic void testTryLock_stateExceptionOnLock()
public void testTryLock_stateExceptionOnUnlock()
public void testTryLock_nonStateExceptionOnLock()
public void testTryLock_nonStateExceptionOnUnlock()
public void testTryLock_failureRemote()
public void testTryLock_success()
public void unlockInDao()
public void testTryLock_failureLocal()
Copyright © 2019 Atlassian. All rights reserved.