public static class TestAtomicOperation.AtomicOperation extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected AtomicInteger |
failures |
protected int |
numOps |
protected Random |
r |
protected Region |
region |
protected AtomicLong |
timeStamps |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
AtomicOperation(Region region,
int numOps,
AtomicLong timeStamps,
AtomicInteger failures) |
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
protected final Region region
protected final int numOps
protected final AtomicLong timeStamps
protected final AtomicInteger failures
protected final Random r
public AtomicOperation(Region region, int numOps, AtomicLong timeStamps, AtomicInteger failures)