public static class MultithreadedTestUtil.TestContext extends Object
Constructor and Description |
---|
TestContext(Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
addThread(MultithreadedTestUtil.TestThread t) |
protected Configuration |
getConf() |
void |
setStopFlag(boolean s) |
boolean |
shouldRun() |
void |
startThreads() |
void |
stop() |
void |
threadDone() |
void |
threadFailed(Throwable t) |
void |
waitFor(long millis) |
protected Configuration getConf()
public boolean shouldRun()
public void addThread(MultithreadedTestUtil.TestThread t)
public void startThreads()
public void threadFailed(Throwable t)
public void threadDone()