protected class TestHRegion.PutThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private boolean |
done |
private Throwable |
error |
private byte[][] |
families |
private int |
numPutsFinished |
private int |
numRows |
private byte[][] |
qualifiers |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier | Constructor and Description |
---|---|
private |
PutThread(int numRows,
byte[][] families,
byte[][] qualifiers) |
Modifier and Type | Method and Description |
---|---|
void |
checkNoError() |
void |
done() |
void |
run() |
void |
waitForFirstPut()
Block calling thread until this instance of PutThread has put at least one row.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private volatile boolean done
private volatile int numPutsFinished
private int numRows
private byte[][] families
private byte[][] qualifiers
private PutThread(int numRows, byte[][] families, byte[][] qualifiers)
public void waitForFirstPut() throws InterruptedException
InterruptedException
public void done()
public void checkNoError()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.