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
Exception
public void testNoEndWithoutStart()
public void testCleanup() throws Exception
Exception
public void testWalNonces() throws Exception
Exception
public void testConcurrentAttempts() throws Exception
Exception
public void testStopWaiting() throws Exception
Exception
private void waitForThreadToBlockOrExit(Thread t) throws InterruptedException
InterruptedException
private 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.