public class TestThreads extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static int |
SLEEP_TIME_MS |
private static int |
TOLERANCE_MS |
private AtomicBoolean |
wasInterrupted |
Constructor and Description |
---|
TestThreads() |
Modifier and Type | Method and Description |
---|---|
void |
testSleepWithoutInterrupt() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final int SLEEP_TIME_MS
private static final int TOLERANCE_MS
private final AtomicBoolean wasInterrupted
public TestThreads()
public void testSleepWithoutInterrupt() throws InterruptedException
InterruptedException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.