static class IntegrationTestRpcClient.MiniChaosMonkey extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
(package private) IntegrationTestRpcClient.Cluster |
cluster |
(package private) AtomicReference<Exception> |
exception |
(package private) AtomicBoolean |
running |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
MiniChaosMonkey(IntegrationTestRpcClient.Cluster cluster) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
rethrowException() |
void |
run() |
(package private) void |
stopRunning() |
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
AtomicBoolean running
AtomicReference<Exception> exception
public MiniChaosMonkey(IntegrationTestRpcClient.Cluster cluster)
void stopRunning()
void rethrowException() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.