public class TestLogRollingNoCluster extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestLogRollingNoCluster.Appender
Appender thread.
|
static class |
TestLogRollingNoCluster.HighLatencySyncWriter
ProtobufLogWriter that simulates higher latencies in sync() call
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
EMPTY_1K_ARRAY |
private static int |
NUM_ENTRIES |
private static int |
NUM_THREADS |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestLogRollingNoCluster() |
Modifier and Type | Method and Description |
---|---|
void |
testContendedLogRolling()
Spin up a bunch of threads and have them all append to a WAL.
|
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final byte[] EMPTY_1K_ARRAY
private static final int NUM_THREADS
private static final int NUM_ENTRIES
public TestLogRollingNoCluster()
public void testContendedLogRolling() throws Exception
IOException
InterruptedException
Exception
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.