T - public class LinkedBlockingTaskQueue<T> extends Thread implements ITaskQueue<T>
DisruptorTaskQueueThread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| 构造器和说明 |
|---|
LinkedBlockingTaskQueue(String threadName) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addCommand(T command) |
ITaskQueue<T> |
exception(Proc2<T,Throwable> exception) |
String |
getThreadName() |
ITaskQueue<T> |
handle(Proc1<T> handle) |
ITaskQueue<T> |
intercept(Test1<T> intercept) |
void |
run() |
void |
startServer() |
void |
stopServer() |
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, yieldpublic LinkedBlockingTaskQueue(String threadName)
public ITaskQueue<T> intercept(Test1<T> intercept)
public ITaskQueue<T> handle(Proc1<T> handle)
public ITaskQueue<T> exception(Proc2<T,Throwable> exception)
public void addCommand(T command)
addCommand 在接口中 ITaskQueue<T>public void stopServer()
stopServer 在接口中 IServerpublic void startServer()
startServer 在接口中 IServerpublic String getThreadName()
getThreadName 在接口中 ITaskQueue<T>Copyright © 2017. All rights reserved.