public class TestServerNonceManager extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
TestServerNonceManager.TestRunnable |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestServerNonceManager() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.hadoop.hbase.regionserver.ServerNonceManager |
createManager() |
private org.apache.hadoop.hbase.regionserver.ServerNonceManager |
createManager(Integer gracePeriod) |
private org.apache.hadoop.hbase.Stoppable |
createStoppable() |
void |
testCleanup() |
void |
testConcurrentAttempts() |
void |
testMvcc() |
void |
testNoEndWithoutStart() |
void |
testNormalStartEnd() |
void |
testStopWaiting() |
void |
testWalNonces() |
private void |
waitForThreadToBlockOrExit(Thread t) |
public static final HBaseClassTestRule CLASS_RULE
public TestServerNonceManager()
public void testNormalStartEnd() throws Exception
Exceptionpublic void testNoEndWithoutStart()
public void testCleanup() throws Exception
Exceptionpublic void testWalNonces() throws Exception
Exceptionpublic void testConcurrentAttempts() throws Exception
Exceptionpublic void testStopWaiting() throws Exception
Exceptionprivate void waitForThreadToBlockOrExit(Thread t) throws InterruptedException
InterruptedExceptionprivate org.apache.hadoop.hbase.Stoppable createStoppable()
private org.apache.hadoop.hbase.regionserver.ServerNonceManager createManager()
private org.apache.hadoop.hbase.regionserver.ServerNonceManager createManager(Integer gracePeriod)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.