索引

A B C D E F G H I J L M N O P R S T U V W           线      
常量字段值|所有程序包|所有类和接口|序列化表格

A

abort() - 类中的静态方法 cn.wjybxx.concurrent.RejectedExecutionHandlers
抛出拒绝异常
AbstractEventLoop - cn.wjybxx.concurrent中的类
 
AbstractEventLoop(EventLoopGroup) - 类的构造器 cn.wjybxx.concurrent.AbstractEventLoop
 
AbstractEventLoopGroup - cn.wjybxx.concurrent中的类
默认的实现仅仅是简单的将任务分配给某个EventLoop执行
AbstractEventLoopGroup() - 类的构造器 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
AbstractUniExecutor - cn.wjybxx.sequential中的类
 
AbstractUniExecutor() - 类的构造器 cn.wjybxx.sequential.AbstractUniExecutor
 
AbstractUniScheduledExecutor - cn.wjybxx.sequential中的类
子类需要在AbstractUniExecutor.execute(Runnable)的时候为任务赋值id和options
AbstractUniScheduledExecutor() - 类的构造器 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
accept(Object) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
accept(Object) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
add(ICompletionStage<?>) - 类中的方法 cn.wjybxx.concurrent.FutureCombiner
 
add(IFuture<?>) - 类中的方法 cn.wjybxx.sequential.UniFutureCombiner
 
add(CompletionStage<?>) - 类中的方法 cn.wjybxx.concurrent.JDKFutureCombiner
 
addAll(ICompletionStage<?>...) - 类中的方法 cn.wjybxx.concurrent.FutureCombiner
 
addAll(IFuture<?>...) - 类中的方法 cn.wjybxx.sequential.UniFutureCombiner
 
addAll(Collection<? extends ICompletionStage<?>>) - 类中的方法 cn.wjybxx.concurrent.FutureCombiner
 
addAll(Collection<? extends IFuture<?>>) - 类中的方法 cn.wjybxx.sequential.UniFutureCombiner
 
addAll(Collection<? extends CompletionStage<?>>) - 类中的方法 cn.wjybxx.concurrent.JDKFutureCombiner
 
addAll(CompletionStage<?>...) - 类中的方法 cn.wjybxx.concurrent.JDKFutureCombiner
 
addNoLogRequiredException(Class<? extends Throwable>) - 类中的静态方法 cn.wjybxx.concurrent.FutureLogger
添加一个无需自动记录日志的异常
addNoLogRequiredExceptions(Collection<? extends Class<? extends Throwable>>) - 类中的静态方法 cn.wjybxx.concurrent.FutureLogger
批量添加
AggregateOptions - cn.wjybxx.concurrent中的类
future的聚合选项
allOf(IFuture<?>...) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
anyOf() - 类中的静态方法 cn.wjybxx.concurrent.AggregateOptions
任意一个完成
anyOf() - 类中的方法 cn.wjybxx.concurrent.FutureCombiner
返回的promise在任意future进入完成状态时进入完成状态 返回的promise与首个完成future的结果相同(不准确)
anyOf() - 类中的方法 cn.wjybxx.concurrent.JDKFutureCombiner
返回的promise在任意future进入完成状态时进入完成状态
anyOf() - 类中的方法 cn.wjybxx.sequential.UniFutureCombiner
返回的promise在任意future进入完成状态时进入完成状态 返回的promise与首个future的结果相同
anyOf(IFuture<?>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
asReadonly() - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
asReadonly() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
asReadonly() - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
返回一个只读的ICancelToken试图,返回的实例会在当前Token被取消时取消。
asReadonly() - 接口中的方法 cn.wjybxx.concurrent.IFuture
返回只读的Future视图, 如果Future是一个提供了写接口的Promise,则返回一个只读的Future视图,返回的实例会在当前Promise进入完成状态时进入完成状态。
asReadonly() - 类中的方法 cn.wjybxx.concurrent.Promise
 
asReadonly() - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
asReadonly() - 类中的方法 cn.wjybxx.concurrent.ReadOnlyFuture
 
asReadonly() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
asReadonly() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
Async的含义 - 类 cn.wjybxx.sequential.UniPromise中的搜索标记
await() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
await() - 接口中的方法 cn.wjybxx.concurrent.IFuture
阻塞到任务完成
await() - 类中的方法 cn.wjybxx.concurrent.Promise
 
await() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
await(long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
await(long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
await(long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.Promise
 
await(long, TimeUnit) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
await(CompletableFuture<?>, long, TimeUnit) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
awaitTermination(long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
awaitTermination(long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
awaitTermination(long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.EventLoopGroup
等待EventLoopGroup进入终止状态 等同于在EventLoopGroup.terminationFuture()进行阻塞操作。
awaitTermination(long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.ExecutorServiceAdapter
 
awaitTermination(long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
等待 ExecutorService 进入终止状态 等同于在IExecutorService.terminationFuture()进行阻塞操作。
awaitTermination(long, TimeUnit) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
awaitUninterruptedly(CompletableFuture<?>, long, TimeUnit) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
awaitUninterruptibly() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
awaitUninterruptibly() - 接口中的方法 cn.wjybxx.concurrent.IFuture
阻塞到任务完成
awaitUninterruptibly() - 类中的方法 cn.wjybxx.concurrent.Promise
 
awaitUninterruptibly() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
awaitUninterruptibly(long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
awaitUninterruptibly(long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
awaitUninterruptibly(long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.Promise
 
awaitUninterruptibly(long, TimeUnit) - 类中的方法 cn.wjybxx.sequential.UniPromise
 

B

beforeCall(long, long, boolean) - 类中的方法 cn.wjybxx.concurrent.TimeoutContext
 
blackboard() - 类中的方法 cn.wjybxx.concurrent.Context
 
blackboard() - 接口中的方法 cn.wjybxx.concurrent.IContext
任务运行时依赖的黑板(主要上下文) 1.每个任务可有独立的黑板(数据); 2.一般而言,黑板需要实现递归向上查找。
blackboard() - 类中的方法 cn.wjybxx.concurrent.MiniContext
 
BlockingOperationException - cn.wjybxx.concurrent中的异常错误类
如果一个操作可能导致死锁状态将抛出该异常 通常是因为监听者和执行者在同一个线程,监听者尝试阻塞等待结果。
BlockingOperationException() - 异常错误类的构造器 cn.wjybxx.concurrent.BlockingOperationException
 
BlockingOperationException(String) - 异常错误类的构造器 cn.wjybxx.concurrent.BlockingOperationException
 
BlockingOperationException(String, Throwable) - 异常错误类的构造器 cn.wjybxx.concurrent.BlockingOperationException
 
BlockingOperationException(Throwable) - 异常错误类的构造器 cn.wjybxx.concurrent.BlockingOperationException
 
build() - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
 
build() - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
 
build() - 类中的方法 cn.wjybxx.concurrent.EventLoopGroupBuilder
 

C

callAsync(Executor, Callable<? extends T>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
callerRuns() - 类中的静态方法 cn.wjybxx.concurrent.RejectedExecutionHandlers
调用者执行策略:调用execute方法的线程执行。
canBeCancelled() - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
canBeCancelled() - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
当前token是否可以进入取消状态
canBeCancelled() - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
canBeCancelled() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
cancel() - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
使用默认原因取消
cancel() - 接口中的方法 cn.wjybxx.concurrent.ICancelTokenSource
使用默认原因取消
cancel() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
使用默认原因取消
cancel(boolean) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
该方法主要用于兼容JDK
cancel(boolean) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
cancel(boolean) - 接口中的方法 cn.wjybxx.concurrent.ICancelTokenSource
该方法主要用于兼容JDK
cancel(boolean) - 接口中的方法 cn.wjybxx.concurrent.IFuture
已过时。
通过ctx中的 ICancelToken 发起取消请求,该方法仅用于和旧代码和外部库交互。
cancel(boolean) - 类中的方法 cn.wjybxx.concurrent.Promise
已过时。
cancel(boolean) - 类中的方法 cn.wjybxx.concurrent.ReadOnlyFuture
 
cancel(boolean) - 类中的方法 cn.wjybxx.sequential.UniPromise
已过时。
cancel(int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
将Token置为取消状态
cancel(int) - 接口中的方法 cn.wjybxx.concurrent.ICancelTokenSource
将Token置为取消状态
cancel(int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
将Token置为取消状态
cancelAfter(int, long) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
cancelAfter(int, long) - 接口中的方法 cn.wjybxx.concurrent.ICancelTokenSource
在一段时间后发送取消命令
cancelAfter(int, long) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
在一段时间后发送取消命令
cancelAfter(int, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
在一段时间后发送取消命令 (将由默认的调度器调度)
cancelAfter(int, long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.ICancelTokenSource
在一段时间后发送取消命令
cancelAfter(int, long, TimeUnit) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
cancelAfter(int, long, TimeUnit, UniScheduledExecutor) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
cancelAfter(int, long, TimeUnit, ScheduledExecutorService) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
cancelCode() - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
cancelCode() - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
取消码 1.
cancelCode() - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
cancelCode() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
CANCELLED - 枚举类 中的枚举常量 cn.wjybxx.concurrent.TaskStatus
任务被取消 - 完成状态
cancelToken() - 类中的方法 cn.wjybxx.concurrent.Context
 
cancelToken() - 接口中的方法 cn.wjybxx.concurrent.IContext
任务绑定的取消令牌(取消上下文) 1.每个任务可有独立的取消信号 -- 私有属性。
cancelToken() - 类中的方法 cn.wjybxx.concurrent.MiniContext
 
CancelTokenListener - cn.wjybxx.concurrent中的接口
该接口用于特殊需求时减少闭包
CancelTokenSource - cn.wjybxx.concurrent中的类
取消令牌源由任务的创建者(发起者)持有,具备取消权限。
CancelTokenSource() - 类的构造器 cn.wjybxx.concurrent.CancelTokenSource
 
CancelTokenSource(int) - 类的构造器 cn.wjybxx.concurrent.CancelTokenSource
 
cancelWatch(WatcherMgr.Watcher<?>) - 类中的方法 cn.wjybxx.concurrent.SimpleWatcherMgr
 
cancelWatch(WatcherMgr.Watcher<?>) - 接口中的方法 cn.wjybxx.concurrent.WatcherMgr
取消监听 该方法既可能是注册监听器的代码执行,也可能是提交事件的线程(watcher的一次性原理) 如果是监听者自身调用,则可以根据返回值检测到冲突,从而采取对应的行为,这时事件的生产者可能将调用WatcherMgr.Watcher.onEvent(Object)
cancelWithoutRemove() - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
该接口只能在EventLoop内调用 -- 且当前任务已弹出队列
cancelWithoutRemove() - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
该接口只能在EventLoop内调用 -- 且当前任务已弹出队列
cancelWithoutRemove(int) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
该接口只能在EventLoop内调用 -- 且当前任务已弹出队列
cancelWithoutRemove(int) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
该接口只能在EventLoop内调用 -- 且当前任务已弹出队列
catching(Class<X>, BiFunction<? super IContext, ? super X, ? extends T>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
catching(Class<X>, BiFunction<? super IContext, ? super X, ? extends T>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
catching(Class<X>, BiFunction<? super IContext, ? super X, ? extends T>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
catching(Class<X>, BiFunction<? super IContext, ? super X, ? extends T>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
catching(Class<X>, BiFunction<? super IContext, ? super X, ? extends T>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
它表示能从从特定的异常中恢复,并返回一个正常结果。
catching(Class<X>, BiFunction<? super IContext, ? super X, ? extends T>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
catching(Class<X>, BiFunction<? super IContext, ? super X, ? extends T>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
catching(Class<X>, BiFunction<? super IContext, ? super X, ? extends T>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
catching(Class<X>, BiFunction<? super IContext, ? super X, ? extends V>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
catching(Class<X>, BiFunction<? super IContext, ? super X, ? extends V>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
catchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends T>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
catchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends T>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
catchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends T>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
catchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends T>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
catchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends T>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
catchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends T>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
catchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends T>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
catchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends T>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
catchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends V>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
catchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends V>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
CAUGHT_EXCEPTION - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
延时任务:在出现异常后继续执行。
checkCancel() - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
checkCancel() - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
检测取消信号 如果收到取消信号,则抛出CancellationException
checkCancel() - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
checkCancel() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
checkDeadlock() - 类中的方法 cn.wjybxx.concurrent.Promise
死锁检查
checkUncaughtExceptionHandler(Thread) - 类中的静态方法 cn.wjybxx.concurrent.DefaultThreadFactory
 
childCount() - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
childCount() - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
childCount() - 接口中的方法 cn.wjybxx.concurrent.FixedEventLoopGroup
EventLoop的数量。
childWith(Object, ICancelToken, T, Object) - 类中的方法 cn.wjybxx.concurrent.Context
 
childWithBlackboard(T) - 类中的方法 cn.wjybxx.concurrent.Context
 
childWithBlackboard(T, Object) - 类中的方法 cn.wjybxx.concurrent.Context
 
childWithState(Object) - 类中的方法 cn.wjybxx.concurrent.Context
 
childWithState(Object, ICancelToken) - 类中的方法 cn.wjybxx.concurrent.Context
 
clean() - 接口中的方法 cn.wjybxx.concurrent.IAgentEvent
清理事件的引用数据 -- 避免内存泄漏 ps:事件循环每处理完事件就会调用该方法以避免内存泄漏
clean() - 类中的方法 cn.wjybxx.concurrent.MiniAgentEvent
 
clean() - 类中的方法 cn.wjybxx.concurrent.RingBufferEvent
 
cleanAll() - 接口中的方法 cn.wjybxx.concurrent.IAgentEvent
清理事件的所有数据 -- 基础值也重置
cleanAll() - 类中的方法 cn.wjybxx.concurrent.MiniAgentEvent
 
cleanAll() - 类中的方法 cn.wjybxx.concurrent.RingBufferEvent
 
clear() - 类中的方法 cn.wjybxx.concurrent.FutureCombiner
重置状态,使得可以重新添加future和选择
clear() - 类中的方法 cn.wjybxx.concurrent.JDKFutureCombiner
重置状态,使得可以重新添加future和选择
clear() - 类中的方法 cn.wjybxx.concurrent.PromiseTask
 
clear() - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
clear() - 类中的方法 cn.wjybxx.sequential.UniFutureCombiner
重置状态,使得可以重新添加future和选择
clear() - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
close() - 类中的方法 cn.wjybxx.concurrent.ExecutorServiceAdapter
 
cn.wjybxx.concurrent - 程序包 cn.wjybxx.concurrent
 
cn.wjybxx.sequential - 程序包 cn.wjybxx.sequential
 
collectionIndex(Object) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
collectionIndex(Object) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
collectionIndex(Object, int) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
collectionIndex(Object, int) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
compareTo(Delayed) - 接口中的方法 cn.wjybxx.concurrent.IScheduledFuture
已过时。
该接口并不是提供给用户的,用户不应当调用该方法,实现类也不一定实现该方法。
compareTo(Delayed) - 接口中的方法 cn.wjybxx.concurrent.IScheduledFutureTask
 
compareTo(Delayed) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
compareTo(Delayed) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
compareToExplicitly(ScheduledPromiseTask<?>) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
compareToExplicitly(UniScheduledPromiseTask<?>) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
completedFuture(V) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
completedFuture(V) - 类中的静态方法 cn.wjybxx.sequential.UniFutureUtils
 
completedFuture(V, Executor) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
completedFuture(V, Executor) - 类中的静态方法 cn.wjybxx.sequential.UniFutureUtils
 
completedPromise(V) - 类中的静态方法 cn.wjybxx.concurrent.Promise
 
completedPromise(V) - 类中的静态方法 cn.wjybxx.sequential.UniPromise
 
completedPromise(V, Executor) - 类中的静态方法 cn.wjybxx.concurrent.Promise
 
completedPromise(V, Executor) - 类中的静态方法 cn.wjybxx.sequential.UniPromise
 
composeApply(BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
composeApply(BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeApply(BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeApply(BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeApply(BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
该方法表示在当前Future与返回的Future中插入一个异步操作,构建异步管道 => 这是链式调用的核心API。
composeApply(BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeApply(BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeApply(BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeApply(BiFunction<? super IContext, ? super V, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeApply(BiFunction<? super IContext, ? super V, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
composeApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
composeApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeApplyAsync(Executor, BiFunction<? super IContext, ? super V, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeApplyAsync(Executor, BiFunction<? super IContext, ? super V, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeCall(Function<? super IContext, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeCall(Function<? super IContext, ? extends ICompletionStage<U>>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
composeCall(Function<? super IContext, ? extends ICompletionStage<U>>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeCall(Function<? super IContext, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeCall(Function<? super IContext, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeCall(Function<? super IContext, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeCall(Function<? super IContext, ? extends ICompletionStage<U>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
该方法表示在当前Future与返回的Future中插入一个异步操作,构建异步管道 该方法对应我们日常流中使用的Stream.flatMap(Function)操作。
composeCall(Function<? super IContext, ? extends ICompletionStage<U>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeCall(Function<? super IContext, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeCall(Function<? super IContext, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeCallAsync(Executor, Function<? super IContext, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeCallAsync(Executor, Function<? super IContext, ? extends ICompletionStage<U>>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
composeCallAsync(Executor, Function<? super IContext, ? extends ICompletionStage<U>>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeCallAsync(Executor, Function<? super IContext, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeCallAsync(Executor, Function<? super IContext, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeCallAsync(Executor, Function<? super IContext, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeCallAsync(Executor, Function<? super IContext, ? extends ICompletionStage<U>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
composeCallAsync(Executor, Function<? super IContext, ? extends ICompletionStage<U>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeCallAsync(Executor, Function<? super IContext, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeCallAsync(Executor, Function<? super IContext, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeCatching(Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
composeCatching(Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeCatching(Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeCatching(Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeCatching(Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
它表示能从从特定的异常中恢复,并异步返回一个正常结果。
composeCatching(Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeCatching(Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeCatching(Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeCatching(Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<V>>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeCatching(Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<V>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeCatchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
composeCatchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeCatchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeCatchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeCatchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
composeCatchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeCatchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeCatchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<T>>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeCatchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<V>>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeCatchingAsync(Executor, Class<X>, BiFunction<? super IContext, ? super X, ? extends ICompletionStage<V>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeHandle(TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
composeHandle(TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeHandle(TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeHandle(TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeHandle(TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
它表示既能接收任务的正常结果,也可以接收任务异常结果,并异步返回一个运算结果。
composeHandle(TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeHandle(TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeHandle(TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeHandle(TriFunction<? super IContext, ? super V, ? super Throwable, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeHandle(TriFunction<? super IContext, ? super V, ? super Throwable, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeHandleAsync(Executor, TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
composeHandleAsync(Executor, TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeHandleAsync(Executor, TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeHandleAsync(Executor, TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeHandleAsync(Executor, TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
composeHandleAsync(Executor, TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
composeHandleAsync(Executor, TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
composeHandleAsync(Executor, TriFunction<? super IContext, ? super T, ? super Throwable, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
composeHandleAsync(Executor, TriFunction<? super IContext, ? super V, ? super Throwable, ? extends ICompletionStage<U>>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
composeHandleAsync(Executor, TriFunction<? super IContext, ? super V, ? super Throwable, ? extends ICompletionStage<U>>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
COMPUTING - 枚举类 中的枚举常量 cn.wjybxx.concurrent.TaskStatus
任务已开始执行
Context<T> - cn.wjybxx.concurrent中的类
默认上下文实现
Context(Context<T>, Object, ICancelToken, T, Object) - 类的构造器 cn.wjybxx.concurrent.Context
一般不建议直接调用该方法,而是通过Context.withBlackboard(Object)等创建子上下文,否则无法处理上下文继承问题。
Context(T) - 类的构造器 cn.wjybxx.concurrent.Context
 
Context(T, Object) - 类的构造器 cn.wjybxx.concurrent.Context
 
copy() - 类中的方法 cn.wjybxx.concurrent.RingBufferEvent
 
copyFrom(RingBufferEvent) - 类中的方法 cn.wjybxx.concurrent.RingBufferEvent
 
create(int, int, int, int) - 异常错误类中的静态方法 cn.wjybxx.concurrent.TaskInsufficientException
 
ctl - 类中的变量 cn.wjybxx.concurrent.PromiseTask
控制标记
ctx - 类中的变量 cn.wjybxx.concurrent.PromiseTask
任务上下文

D

DefaultChooserFactory - cn.wjybxx.concurrent中的类
 
DefaultChooserFactory() - 类的构造器 cn.wjybxx.concurrent.DefaultChooserFactory
 
DefaultFixedEventLoopGroup - cn.wjybxx.concurrent中的类
 
DefaultFixedEventLoopGroup(EventLoopGroupBuilder) - 类的构造器 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
DefaultThreadFactory - cn.wjybxx.concurrent中的类
借鉴于Netty的DefaultThreadFactory 和JDK的Executors中的DefaultThreadFactory实现
DefaultThreadFactory(String) - 类的构造器 cn.wjybxx.concurrent.DefaultThreadFactory
 
DefaultThreadFactory(String, boolean) - 类的构造器 cn.wjybxx.concurrent.DefaultThreadFactory
 
DefaultThreadFactory(String, boolean, int) - 类的构造器 cn.wjybxx.concurrent.DefaultThreadFactory
 
DefaultUniExecutor - cn.wjybxx.sequential中的类
默认的executor实现,通过限制每帧执行的任务数来平滑开销
DefaultUniExecutor() - 类的构造器 cn.wjybxx.sequential.DefaultUniExecutor
 
DefaultUniExecutor(int) - 类的构造器 cn.wjybxx.sequential.DefaultUniExecutor
 
DefaultUniExecutor(int, long, TimeUnit) - 类的构造器 cn.wjybxx.sequential.DefaultUniExecutor
 
DefaultUniScheduledExecutor - cn.wjybxx.sequential中的类
 
DefaultUniScheduledExecutor(TimeProvider) - 类的构造器 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
DefaultUniScheduledExecutor(TimeProvider, int) - 类的构造器 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
degree() - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
degree() - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
取消的紧急程度
degree() - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
degree() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
disable(int) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
disable(int) - 类中的方法 cn.wjybxx.concurrent.TaskBuilder
 
disable(int) - 类中的方法 cn.wjybxx.concurrent.TaskOptionBuilder
禁用选项
disable(int, int) - 类中的静态方法 cn.wjybxx.concurrent.TaskOption
禁用特定调度选项
discard() - 类中的静态方法 cn.wjybxx.concurrent.RejectedExecutionHandlers
丢弃任务
DisruptorBuilder() - 类的构造器 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
 
DisruptorEventLoop<T> - cn.wjybxx.concurrent中的类
基于Disruptor框架的事件循环。
DisruptorEventLoop(EventLoopBuilder.DisruptorBuilder<T>) - 类的构造器 cn.wjybxx.concurrent.DisruptorEventLoop
 

E

EmptyAgent<T> - cn.wjybxx.concurrent中的类
 
EmptyAgent() - 类的构造器 cn.wjybxx.concurrent.EmptyAgent
 
enable(int) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
enable(int) - 类中的方法 cn.wjybxx.concurrent.TaskBuilder
 
enable(int) - 类中的方法 cn.wjybxx.concurrent.TaskOptionBuilder
启用选项
enable(int, int) - 类中的静态方法 cn.wjybxx.concurrent.TaskOption
启用特定调度选项
ensureInEventLoop() - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
ensureInEventLoop() - 接口中的方法 cn.wjybxx.concurrent.EventLoop
 
ensureInEventLoop(SingleThreadExecutor) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
ensureInEventLoop(SingleThreadExecutor, String) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
ensureInEventLoop(String) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
ensureInEventLoop(String) - 接口中的方法 cn.wjybxx.concurrent.EventLoop
 
eventLoop - 类中的变量 cn.wjybxx.concurrent.ExecutorServiceAdapter
 
EventLoop - cn.wjybxx.concurrent中的接口
事件循环 它是单线程的,它保证任务不会并发执行,且任务的执行顺序和提交顺序一致。
EventLoopAgent<T> - cn.wjybxx.concurrent中的接口
Agent是EventLoop的内部代理,是EventLoop的内部策略实现,通常不暴露给EventLoop外部
EventLoopBuilder<T> - cn.wjybxx.concurrent中的类
 
EventLoopBuilder() - 类的构造器 cn.wjybxx.concurrent.EventLoopBuilder
 
EventLoopBuilder.DisruptorBuilder<T> - cn.wjybxx.concurrent中的类
 
EventLoopChooser - cn.wjybxx.concurrent中的接口
事件循环选择器,用于负载均衡和确定选择。
EventLoopChooserFactory - cn.wjybxx.concurrent中的接口
 
EventLoopFactory - cn.wjybxx.concurrent中的接口
 
EventLoopGroup - cn.wjybxx.concurrent中的接口
事件循环线程组,它管理着一组EventLoop
EventLoopGroupBuilder - cn.wjybxx.concurrent中的类
 
EventLoopGroupBuilder() - 类的构造器 cn.wjybxx.concurrent.EventLoopGroupBuilder
 
EventLoopModule - cn.wjybxx.concurrent中的接口
事件循环的模块 1.该接口为标记接口,具体的行为由子接口决定。
EventLoopState - cn.wjybxx.concurrent中的枚举类
EventLoop的状态 -- UniExecutor也使用该枚举。
exceptionNow() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
exceptionNow() - 接口中的方法 cn.wjybxx.concurrent.IFuture
非阻塞方式获取导致Future失败的原因,不适用被取消的Future; 如果需要获取取消异常,可使用IFuture.exceptionNow(boolean)
exceptionNow() - 类中的方法 cn.wjybxx.concurrent.Promise
 
exceptionNow() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
exceptionNow(boolean) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
exceptionNow(boolean) - 接口中的方法 cn.wjybxx.concurrent.IFuture
获取导致任务失败的异常,可获取取消异常
exceptionNow(boolean) - 类中的方法 cn.wjybxx.concurrent.Promise
 
exceptionNow(boolean) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
execute(IExecutor, Consumer<? super IContext>, IContext, int) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
execute(Runnable) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
execute(Runnable) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
execute(Runnable) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
execute(Runnable) - 类中的方法 cn.wjybxx.concurrent.ExecutorServiceAdapter
 
execute(Runnable) - 接口中的方法 cn.wjybxx.concurrent.IExecutor
在将来的某个时间执行给定的命令。
execute(Runnable) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
execute(Runnable) - 类中的方法 cn.wjybxx.sequential.DefaultUniExecutor
 
execute(Runnable) - 类中的方法 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
execute(Runnable, int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
execute(Runnable, int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
execute(Runnable, int) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
execute(Runnable, int) - 接口中的方法 cn.wjybxx.concurrent.IExecutor
在将来的某个时间执行给定的命令。
execute(Runnable, int) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
execute(Executor, Consumer<? super IContext>, IContext) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
execute(Consumer<? super IContext>, IContext) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
execute(Consumer<? super IContext>, IContext) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
execute(Consumer<? super IContext>, IContext) - 接口中的方法 cn.wjybxx.concurrent.IExecutor
ConsumerRunnable的lambda差异足够大,因此选择重载。
execute(Consumer<? super IContext>, IContext) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
execute(Consumer<? super IContext>, IContext) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
execute(Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
execute(Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
execute(Consumer<? super IContext>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IExecutor
 
execute(Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
execute(Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
executor() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
executor() - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
任务绑定的Executor 1.对于异步任务,Executor是其执行线程;而对于同步任务,Executor不一定是其执行线程 -- 继承得来的而已。
executor() - 类中的方法 cn.wjybxx.concurrent.Promise
允许重写
executor() - 类中的方法 cn.wjybxx.sequential.UniPromise
允许重写
ExecutorServiceAdapter - cn.wjybxx.concurrent中的类
ExecutorServiceAdapter(IExecutorService) - 类的构造器 cn.wjybxx.concurrent.ExecutorServiceAdapter
 

F

FAILED - 枚举类 中的枚举常量 cn.wjybxx.concurrent.TaskStatus
任务执行失败 - 完成状态
failedFuture(Throwable) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
failedFuture(Throwable) - 类中的静态方法 cn.wjybxx.sequential.UniFutureUtils
 
failedFuture(Throwable, Executor) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
failedFuture(Throwable, Executor) - 类中的静态方法 cn.wjybxx.sequential.UniFutureUtils
 
failedPromise(Throwable) - 类中的静态方法 cn.wjybxx.concurrent.Promise
 
failedPromise(Throwable) - 类中的静态方法 cn.wjybxx.sequential.UniPromise
 
failedPromise(Throwable, Executor) - 类中的静态方法 cn.wjybxx.concurrent.Promise
 
failedPromise(Throwable, Executor) - 类中的静态方法 cn.wjybxx.sequential.UniPromise
 
failFast - 类中的变量 cn.wjybxx.concurrent.AggregateOptions
 
fillInStackTrace() - 异常错误类中的方法 cn.wjybxx.concurrent.TaskInsufficientException
 
FixedEventLoopGroup - cn.wjybxx.concurrent中的接口
固定数量EventLoop的事件循环线程组 它提供了相同key选择相同EventLoop的方法。
forEach(Consumer<? super EventLoop>) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
forEach(Consumer<? super EventLoop>) - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
ForwardFuture<V> - cn.wjybxx.concurrent中的类
提供转发功能的基类 由于Future中存在取消接口,因此该类还不是Readonly的。
ForwardFuture(IFuture<V>) - 类的构造器 cn.wjybxx.concurrent.ForwardFuture
 
fromJDKFuture(CompletionStage<V>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
future - 类中的变量 cn.wjybxx.concurrent.ForwardFuture
 
future() - 接口中的方法 cn.wjybxx.concurrent.IFutureTask
用于获取结果的句柄 注意:返回给用户时应当转为IFuture类型。
future() - 接口中的方法 cn.wjybxx.concurrent.IScheduledFutureTask
 
future() - 类中的方法 cn.wjybxx.concurrent.PromiseTask
获取任务绑的Promise - 允许子类重写返回值类型
future() - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
future() - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
Future.cancel 的缺陷 - 接口 cn.wjybxx.concurrent.ICancelToken中的搜索标记
FutureCombiner - cn.wjybxx.concurrent中的类
在调用选择方法之前,你可以添加任意的IFuture以进行监听。
FutureCombiner() - 类的构造器 cn.wjybxx.concurrent.FutureCombiner
 
futureCount() - 类中的方法 cn.wjybxx.concurrent.FutureCombiner
获取监听的future数量 注意:future计数是不去重的,一个future反复添加会反复计数
futureCount() - 类中的方法 cn.wjybxx.concurrent.JDKFutureCombiner
获取监听的future数量 注意:future计数是不去重的,一个future反复添加会反复计数
futureCount() - 类中的方法 cn.wjybxx.sequential.UniFutureCombiner
获取监听的future数量 注意:future计数是不去重的,一个future反复添加会反复计数
FutureLogger - cn.wjybxx.concurrent中的类
该类用于打印并发库中的错误日志
FutureLogger() - 类的构造器 cn.wjybxx.concurrent.FutureLogger
 
FutureLogger.LogHandler - cn.wjybxx.concurrent中的接口
该handler只应该输出日志
FutureUtils - cn.wjybxx.concurrent中的类
 
FutureUtils() - 类的构造器 cn.wjybxx.concurrent.FutureUtils
 

G

get() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
get() - 接口中的方法 cn.wjybxx.concurrent.IFuture
get() - 类中的方法 cn.wjybxx.concurrent.Promise
 
get() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
get(long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
get(long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IFuture
get(long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.Promise
 
get(long, TimeUnit) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
getAgent() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
EventLoop绑定的Agent(代理)
getAgent() - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
EventLoop的内部代理
getBarrier() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
仅用于测试
getBatchSize() - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
每次最多处理多少个事件就尝试执行一次EventLoopAgent.update()方法 该值越小:线程间的同步开销越多;越不容易阻塞生产者(有界Buffer);EventLoop更容易响应取消; 该值越大:消费者的吞吐量越好,生产者的吞吐量则会降低(有界Buffer);EventLoop对关闭信号的响应越慢。
getCause(IFuture<?>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
getCause(CompletableFuture<?>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
getChooserFactory() - 类中的方法 cn.wjybxx.concurrent.EventLoopGroupBuilder
 
getCtlBit(int) - 类中的方法 cn.wjybxx.concurrent.PromiseTask
获取ctl中的某个bit
getCtx() - 类中的方法 cn.wjybxx.concurrent.TaskBuilder
任务的上下文
getDelay(TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IScheduledFuture
获取任务下次执行的延迟。
getDelay(TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IScheduledFutureTask
获取任务下次执行的延迟。
getDelay(TimeUnit) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromise
 
getDelay(TimeUnit) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
getDelay(TimeUnit) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromise
 
getDelay(TimeUnit) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
getEvent(long) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
getEventLoopFactory() - 类中的方法 cn.wjybxx.concurrent.EventLoopGroupBuilder
 
getEventSequencer() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
EventLoop绑定的事件生成器 - 可用于发布事件
getEventSequencer() - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
事件序列生成器 注意:应当避免使用无超时的等待策略,EventLoop需要处理定时任务,不能一直等待生产者。
getExecutor() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
getHandler() - 类中的静态方法 cn.wjybxx.concurrent.FutureLogger
 
getId() - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
getId() - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
getInitialDelay() - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
getInstance() - 类中的静态方法 cn.wjybxx.concurrent.EmptyAgent
 
getLogLevel() - 类中的静态方法 cn.wjybxx.concurrent.FutureLogger
 
getMainModule() - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
EventLoop的主模块
getNextTriggerTime() - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
getNextTriggerTime() - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
getNow() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
getNow() - 接口中的方法 cn.wjybxx.concurrent.IFuture
获取关联的计算结果 -- 非阻塞。
getNow() - 类中的方法 cn.wjybxx.concurrent.Promise
 
getNow() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
getNow(T) - 接口中的方法 cn.wjybxx.concurrent.IFuture
尝试获取计算结果 -- 非阻塞 如果对应的计算失败,则抛出对应的异常。
getNow(T) - 类中的方法 cn.wjybxx.concurrent.Promise
 
getNow(T) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
getNow(V) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
getNumChildren() - 类中的方法 cn.wjybxx.concurrent.EventLoopGroupBuilder
 
getObj0() - 接口中的方法 cn.wjybxx.concurrent.IAgentEvent
获取事件的第一个参数
getObj0() - 类中的方法 cn.wjybxx.concurrent.MiniAgentEvent
 
getObj0() - 类中的方法 cn.wjybxx.concurrent.RingBufferEvent
 
getOptions() - 接口中的方法 cn.wjybxx.concurrent.IAgentEvent
事件或任务的调度选项
getOptions() - 接口中的方法 cn.wjybxx.concurrent.ITask
任务的调度选项
getOptions() - 类中的方法 cn.wjybxx.concurrent.MiniAgentEvent
 
getOptions() - 类中的方法 cn.wjybxx.concurrent.PromiseTask
 
getOptions() - 类中的方法 cn.wjybxx.concurrent.RingBufferEvent
 
getOptions() - 类中的方法 cn.wjybxx.concurrent.TaskOptionBuilder
 
getParent() - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
 
getPeriod() - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
getPriority() - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
获取任务所属的队列id
getPriority() - 类中的方法 cn.wjybxx.concurrent.TaskOptionBuilder
获取任务优先级
getPriority() - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
获取任务所属的队列id
getPriority(int) - 类中的静态方法 cn.wjybxx.concurrent.TaskOption
获取任务的优先级
getRejectedExecutionHandler() - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
 
getSchedulePhase() - 类中的方法 cn.wjybxx.concurrent.TaskOptionBuilder
获取任务的阶段
getSchedulePhase(int) - 类中的静态方法 cn.wjybxx.concurrent.TaskOption
获取任务的调度阶段
getScheduleType() - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
获取任务的调度类型
getScheduleType() - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
getScheduleType() - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
获取任务的调度类型
getTask() - 类中的方法 cn.wjybxx.concurrent.PromiseTask
获取绑定的任务
getTask() - 类中的方法 cn.wjybxx.concurrent.TaskBuilder
 
getTaskType() - 类中的方法 cn.wjybxx.concurrent.PromiseTask
获取任务的类型 -- 在可能包含分时任务的情况下要进行判断
getTerminationHook() - 类中的方法 cn.wjybxx.concurrent.EventLoopGroupBuilder
 
getThreadFactory() - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
 
getTimeLeft() - 类中的方法 cn.wjybxx.concurrent.TimeoutContext
 
getTimeout() - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
getTimeUnit() - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
getType() - 接口中的方法 cn.wjybxx.concurrent.IAgentEvent
获取事件的类型
getType() - 类中的方法 cn.wjybxx.concurrent.MiniAgentEvent
 
getType() - 类中的方法 cn.wjybxx.concurrent.RingBufferEvent
 
getType() - 类中的方法 cn.wjybxx.concurrent.TaskBuilder
任务的类型
getWaitStrategy() - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
等待策略 -- 如果未显式指定,则使用EventLoopBuilder.DisruptorBuilder.eventSequencer中的默认等待策略
getWatcher() - 类中的方法 cn.wjybxx.concurrent.SimpleWatcherMgr
 
GuardedOperationException - cn.wjybxx.concurrent中的异常错误类
受保护的操作,与BlockingOperationException成一对。
GuardedOperationException() - 异常错误类的构造器 cn.wjybxx.concurrent.GuardedOperationException
 
GuardedOperationException(String) - 异常错误类的构造器 cn.wjybxx.concurrent.GuardedOperationException
 
GuardedOperationException(String, Throwable) - 异常错误类的构造器 cn.wjybxx.concurrent.GuardedOperationException
 
GuardedOperationException(Throwable) - 异常错误类的构造器 cn.wjybxx.concurrent.GuardedOperationException
 

H

handle(TriFunction<? super IContext, ? super T, Throwable, ? extends U>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
handle(TriFunction<? super IContext, ? super T, Throwable, ? extends U>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
handle(TriFunction<? super IContext, ? super T, Throwable, ? extends U>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
handle(TriFunction<? super IContext, ? super T, Throwable, ? extends U>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
handle(TriFunction<? super IContext, ? super T, Throwable, ? extends U>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
该方法表示既能处理当前计算的正常结果,又能处理当前结算的异常结果(可以将异常转换为新的结果),并返回一个新的结果。
handle(TriFunction<? super IContext, ? super T, Throwable, ? extends U>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
handle(TriFunction<? super IContext, ? super T, Throwable, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
handle(TriFunction<? super IContext, ? super T, Throwable, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
handle(TriFunction<? super IContext, ? super V, Throwable, ? extends U>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
handle(TriFunction<? super IContext, ? super V, Throwable, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
handleAsync(Executor, TriFunction<? super IContext, ? super T, Throwable, ? extends U>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
handleAsync(Executor, TriFunction<? super IContext, ? super T, Throwable, ? extends U>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
handleAsync(Executor, TriFunction<? super IContext, ? super T, Throwable, ? extends U>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
handleAsync(Executor, TriFunction<? super IContext, ? super T, Throwable, ? extends U>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
handleAsync(Executor, TriFunction<? super IContext, ? super T, Throwable, ? extends U>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
handleAsync(Executor, TriFunction<? super IContext, ? super T, Throwable, ? extends U>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
handleAsync(Executor, TriFunction<? super IContext, ? super T, Throwable, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
handleAsync(Executor, TriFunction<? super IContext, ? super T, Throwable, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
handleAsync(Executor, TriFunction<? super IContext, ? super V, Throwable, ? extends U>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
handleAsync(Executor, TriFunction<? super IContext, ? super V, Throwable, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
hasTimeout() - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
是否设置了超时时间

I

IAgentEvent - cn.wjybxx.concurrent中的接口
EventLoopAgent接收的事件类型
ICancelToken - cn.wjybxx.concurrent中的接口
取消令牌
ICancelTokenSource - cn.wjybxx.concurrent中的接口
取消令牌源由任务的创建者(发起者)持有,具备取消权限。
ICompletionStage<T> - cn.wjybxx.concurrent中的接口
线程控制
IContext - cn.wjybxx.concurrent中的接口
异步任务的上下文 在异步和并发编程中,共享上下文是很必要的,且显式的共享优于隐式的共享。
IExecutor - cn.wjybxx.concurrent中的接口
IExecutorExecutor的基础上增加了调度选项。
IExecutorService - cn.wjybxx.concurrent中的接口
命名:我们使用清晰的命名后缀,以免使用lambda时的语义不清。
IFuture<T> - cn.wjybxx.concurrent中的接口
1.Future是任务和用户之间通信的媒介。
IFutureTask<V> - cn.wjybxx.concurrent中的接口
FutureTask是Executor压入的可获取结果的任务类型 1.该接口暴露给Executor的扩展类,不是用户使用的类。
IGNORE_FUTURE_CANCEL - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
延时任务:忽略来自future的取消 1.
inEventLoop() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
inEventLoop() - 接口中的方法 cn.wjybxx.concurrent.EventLoop
测试当前线程是否是Executor所在线程。
inEventLoop() - 接口中的方法 cn.wjybxx.concurrent.SingleThreadExecutor
测试当前线程是否是Executor所在线程。
inEventLoop(Thread) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
inEventLoop(Thread) - 接口中的方法 cn.wjybxx.concurrent.EventLoop
测试给定线程是否是当前事件循环线程 1.注意:EventLoop接口约定是单线程的,不会并发执行提交的任务,但不约定整个生命周期都在同一个线程上,以允许在空闲的时候销毁线程。
inEventLoop(Thread) - 接口中的方法 cn.wjybxx.concurrent.SingleThreadExecutor
测试给定线程是否是当前事件循环线程 1.注意:EventLoop接口约定是单线程的,不会并发执行提交的任务,但不约定整个生命周期都在同一个线程上,以允许在空闲的时候销毁线程。
inEventLoop(Executor) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
inheritContext(int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
inheritContext(int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
inject(EventLoop) - 类中的方法 cn.wjybxx.concurrent.EmptyAgent
 
inject(EventLoop) - 接口中的方法 cn.wjybxx.concurrent.EventLoopAgent
在构造EventLoop的过程中将调用该方法注入实例 注意:此时EventLoop可能尚未完全初始化!
inject(IContext, IPromise<? super V>) - 接口中的方法 cn.wjybxx.concurrent.TimeSharingTask
任务在添加到Executor之前进行绑定
intVal1 - 类中的变量 cn.wjybxx.concurrent.RingBufferEvent
 
intVal2 - 类中的变量 cn.wjybxx.concurrent.RingBufferEvent
 
invokeAll(Collection<? extends Callable<T>>) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
invokeAll(Collection<? extends Callable<T>>) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
invokeAll(Collection<? extends Callable<T>>) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
invokeAll(Collection<? extends Callable<T>>) - 接口中的方法 cn.wjybxx.sequential.UniExecutorService
已过时。
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - 接口中的方法 cn.wjybxx.sequential.UniExecutorService
已过时。
invokeAny(Collection<? extends Callable<T>>) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
invokeAny(Collection<? extends Callable<T>>) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
invokeAny(Collection<? extends Callable<T>>) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
invokeAny(Collection<? extends Callable<T>>) - 接口中的方法 cn.wjybxx.sequential.UniExecutorService
已过时。
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - 接口中的方法 cn.wjybxx.sequential.UniExecutorService
已过时。
invokeTerminationHook() - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
当所有的子节点都进入终结状态时,该方法将被调用 通常用于执行一些清理工作
IPromise<T> - cn.wjybxx.concurrent中的接口
 
isAnyOf() - 类中的方法 cn.wjybxx.concurrent.AggregateOptions
 
isCancelled() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
isCancelled() - 接口中的方法 cn.wjybxx.concurrent.IFuture
如果future关联的任务在正常完成被取消,则返回true。
isCancelled() - 类中的方法 cn.wjybxx.concurrent.Promise
 
isCancelled() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
isCancelling() - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
isCancelling() - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
是否已收到取消信号 任务的执行者将持有该令牌,在调度任务前会检测取消信号;如果任务已经开始,则由用户的任务自身检测取消和中断信号。
isCancelling() - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
isCancelling() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
IScheduledExecutorService - cn.wjybxx.concurrent中的接口
不继承ScheduledExecutorService,JDK的ScheduledFuture设计有问题。
IScheduledFuture<V> - cn.wjybxx.concurrent中的接口
定时任务关联的Future。
IScheduledFutureTask<V> - cn.wjybxx.concurrent中的接口
可获取结果的延时任务
IScheduledPromise<V> - cn.wjybxx.concurrent中的接口
定时任务关联的Promise
isCleanBufferOnExit() - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
EventLoop在退出的时候是否清理buffer 1.
isComputing() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
isComputing() - 接口中的方法 cn.wjybxx.concurrent.IFuture
如果future关联的任务正在执行中,则返回true
isComputing() - 类中的方法 cn.wjybxx.concurrent.Promise
 
isComputing() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
isDisabled(int, int) - 类中的静态方法 cn.wjybxx.concurrent.TaskOption
是否未启用选项。
isDone() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
isDone() - 接口中的方法 cn.wjybxx.concurrent.IFuture
如果future已进入完成状态(成功、失败、被取消),则返回true
isDone() - 类中的方法 cn.wjybxx.concurrent.Promise
 
isDone() - 枚举类中的方法 cn.wjybxx.concurrent.TaskStatus
是否表示完成状态
isDone() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
isEnabled(int) - 类中的方法 cn.wjybxx.concurrent.PromiseTask
任务是否启用了指定选项
isEnabled(int, int) - 类中的静态方法 cn.wjybxx.concurrent.TaskOption
是否启用了所有选项
isFailed() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
isFailed() - 接口中的方法 cn.wjybxx.concurrent.IFuture
如果future已进入完成状态,且是失败状态,则返回true
isFailed() - 类中的方法 cn.wjybxx.concurrent.Promise
 
isFailed() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
isFailedOrCancelled() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
isFailedOrCancelled() - 接口中的方法 cn.wjybxx.concurrent.IFuture
在JDK的约定中,取消和failed是分离的,我们仍保持这样的约定; 但有些时候,我们需要将取消也视为失败的一种,因此需要快捷的方法。
isFailedOrCancelled() - 类中的方法 cn.wjybxx.concurrent.Promise
 
isFailedOrCancelled() - 枚举类中的方法 cn.wjybxx.concurrent.TaskStatus
是否表示失败或被取消
isFailedOrCancelled() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
isFixedDelay() - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
isFixedRate() - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
isInterruptible() - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
isInterruptible() - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
取消指令中是否要求了中断线程
isInterruptible() - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
isInterruptible() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
isOnlyOnce() - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
isPending() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
isPending() - 接口中的方法 cn.wjybxx.concurrent.IFuture
如果future关联的任务仍处于等待执行的状态,则返回true (换句话说,如果任务仍在排队,则返回true)
isPending() - 类中的方法 cn.wjybxx.concurrent.Promise
 
isPending() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
isPeriodic() - 接口中的方法 cn.wjybxx.concurrent.IScheduledFutureTask
关联的任务是否是周期性任务
isPeriodic() - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
isPeriodic() - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
isPeriodic() - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
isRunning() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
isRunning() - 接口中的方法 cn.wjybxx.concurrent.EventLoop
是否处于运行状态
isShutdown() - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
isShutdown() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
isShutdown() - 接口中的方法 cn.wjybxx.concurrent.EventLoopGroup
查询EventLoopGroup是否处于关闭状态。
isShutdown() - 类中的方法 cn.wjybxx.concurrent.ExecutorServiceAdapter
 
isShutdown() - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
查询EventLoopGroup是否处于关闭状态。
isShutdown() - 类中的方法 cn.wjybxx.sequential.DefaultUniExecutor
 
isShutdown() - 类中的方法 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
isShuttingDown() - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
isShuttingDown() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
isShuttingDown() - 接口中的方法 cn.wjybxx.concurrent.EventLoopGroup
查询EventLoopGroup是否处于正在关闭状态。
isShuttingDown() - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
查询EventLoopGroup是否处于正在关闭状态。
isShuttingDown() - 类中的方法 cn.wjybxx.sequential.DefaultUniExecutor
 
isShuttingDown() - 类中的方法 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
isStarted() - 类中的方法 cn.wjybxx.concurrent.PromiseTask
分时任务是否启动
isSucceeded() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
isSucceeded() - 接口中的方法 cn.wjybxx.concurrent.IFuture
如果future已进入完成状态,且是成功完成,则返回true。
isSucceeded() - 类中的方法 cn.wjybxx.concurrent.Promise
 
isSucceeded() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
isTerminated() - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
isTerminated() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
isTerminated() - 接口中的方法 cn.wjybxx.concurrent.EventLoopGroup
是否已进入终止状态,一旦进入终止状态,表示生命周期真正结束。
isTerminated() - 类中的方法 cn.wjybxx.concurrent.ExecutorServiceAdapter
 
isTerminated() - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
是否已进入终止状态,一旦进入终止状态,表示生命周期真正结束。
isTerminated() - 类中的方法 cn.wjybxx.sequential.DefaultUniExecutor
 
isTerminated() - 类中的方法 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
isTimeout() - 类中的方法 cn.wjybxx.concurrent.TimeoutContext
 
isTriggered() - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
任务是否触发过
isTriggered() - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
任务是否触发过
isWithoutRemove() - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
isWithoutRemove() - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
取消指令中是否要求了无需删除
isWithoutRemove() - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
isWithoutRemove() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
ITask - cn.wjybxx.concurrent中的接口
Task是Executor中调度的任务抽象。
iterator() - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
iterator() - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
iterator() - 接口中的方法 cn.wjybxx.concurrent.EventLoopGroup
注意;如果包含不定数量的EventLoop,返回的是快照。

J

JDKFutureCombiner - cn.wjybxx.concurrent中的类
在调用选择方法之前,你可以添加任意的CompletableFuture以进行监听。
JDKFutureCombiner() - 类的构造器 cn.wjybxx.concurrent.JDKFutureCombiner
 
join() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
join() - 接口中的方法 cn.wjybxx.concurrent.IFuture
阻塞到任务完成
join() - 类中的方法 cn.wjybxx.concurrent.Promise
 
join() - 类中的方法 cn.wjybxx.sequential.UniPromise
 

L

LOCAL_ORDER - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
本地序(可以与其它线程无序) 对于EventLoop内部的任务,启用该特征值可跳过全局队列,这在EventLoop是有界的情况下可以避免死锁或阻塞。
logCause(Throwable) - 类中的静态方法 cn.wjybxx.concurrent.AbstractEventLoop
 
logCause(Throwable) - 类中的静态方法 cn.wjybxx.concurrent.FutureLogger
 
logCause(Throwable) - 类中的静态方法 cn.wjybxx.sequential.AbstractUniExecutor
 
logCause(Throwable, String) - 类中的静态方法 cn.wjybxx.concurrent.FutureLogger
 
logCause(Level, Throwable, String) - 接口中的方法 cn.wjybxx.concurrent.FutureLogger.LogHandler
 
logger - 类中的静态变量 cn.wjybxx.concurrent.AbstractEventLoop
 
logger - 类中的静态变量 cn.wjybxx.sequential.AbstractUniExecutor
 
longVal1 - 类中的变量 cn.wjybxx.concurrent.RingBufferEvent
 
longVal2 - 类中的变量 cn.wjybxx.concurrent.RingBufferEvent
 

M

mainModule() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
mainModule() - 接口中的方法 cn.wjybxx.concurrent.EventLoop
事件循环的主模块 主模块是事件循环的外部策略实现,用于暴露特殊的业务接口 (Agent对内,MainModule对外,都是为了避免继承扩展带来的局限性)
MASK_CLAIMED - 类中的静态变量 cn.wjybxx.concurrent.PromiseTask
是否已经声明任务的归属权
MASK_PRIORITY - 类中的静态变量 cn.wjybxx.concurrent.PromiseTask
优先级的掩码 - 4bit,求值频率较高,放在低位
MASK_PRIORITY - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
延时任务的优先级,取值[0, 15] 1.
MASK_SCHEDULE_PHASE - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
低位用于存储任务的调度阶段,取值[0, 63],使用低位可以避免位移。
MASK_SCHEDULE_TYPE - 类中的静态变量 cn.wjybxx.concurrent.PromiseTask
调度类型的掩码 -- 4bit,最大16种,可支持复杂的调度
MASK_STARTED - 类中的静态变量 cn.wjybxx.concurrent.PromiseTask
分时任务是否已启动
MASK_STOPPED - 类中的静态变量 cn.wjybxx.concurrent.PromiseTask
分时任务是否已停止
MASK_TASK_TYPE - 类中的静态变量 cn.wjybxx.concurrent.PromiseTask
任务类型的掩码 -- 4bit,最大16种,可省去大量的instanceof测试
MASK_TIMEOUT - 类中的静态变量 cn.wjybxx.concurrent.PromiseTask
延时任务有超时时间
MASK_TRIGGERED - 类中的静态变量 cn.wjybxx.concurrent.PromiseTask
延时任务已触发过
MAX_PRIORITY - 类中的静态变量 cn.wjybxx.concurrent.PromiseTask
最大优先级
MAX_PRIORITY - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
优先级的最大值
MAX_SCHEDULE_PHASE - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
调度阶段的最大值
MiniAgentEvent - cn.wjybxx.concurrent中的类
提供最小支持的AgentEvent
MiniAgentEvent() - 类的构造器 cn.wjybxx.concurrent.MiniAgentEvent
 
MiniContext - cn.wjybxx.concurrent中的类
满足最小需要的Context实现。

N

needMoreUpdate() - 类中的方法 cn.wjybxx.sequential.DefaultUniExecutor
 
needMoreUpdate() - 类中的方法 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
needMoreUpdate() - 接口中的方法 cn.wjybxx.sequential.UniExecutorService
是否需要更多的Update。
newAction(Runnable) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
newAction(Runnable) - 类中的静态方法 cn.wjybxx.concurrent.TaskBuilder
 
newAction(Consumer<IContext>, IContext) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
newAction(Consumer<IContext>, IContext) - 类中的静态方法 cn.wjybxx.concurrent.TaskBuilder
 
newBuilder() - 类中的静态方法 cn.wjybxx.concurrent.EventLoopGroupBuilder
创建一个默认的builder - 最终将构建FixedEventLoopGroup
newChild(EventLoopGroup, int, Object) - 接口中的方法 cn.wjybxx.concurrent.EventLoopFactory
 
newChooser(EventLoop[]) - 类中的方法 cn.wjybxx.concurrent.DefaultChooserFactory
 
newChooser(EventLoop[]) - 接口中的方法 cn.wjybxx.concurrent.EventLoopChooserFactory
 
newCombiner() - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
newContext(Context<T>, Object, ICancelToken, T, Object) - 类中的方法 cn.wjybxx.concurrent.Context
用于子类重写
newDisruptBuilder() - 类中的静态方法 cn.wjybxx.concurrent.EventLoopBuilder
 
newDisruptBuilder(EventSequencer<? extends T>) - 类中的静态方法 cn.wjybxx.concurrent.EventLoopBuilder
 
newExecutor() - 类中的静态方法 cn.wjybxx.sequential.UniFutureUtils
 
newExecutor(int, long, TimeUnit) - 类中的静态方法 cn.wjybxx.sequential.UniFutureUtils
 
newFunc(Callable<? extends V>) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
newFunc(Callable<? extends V>) - 类中的静态方法 cn.wjybxx.concurrent.TaskBuilder
 
newFunc(Function<IContext, ? extends V>, IContext) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
newFunc(Function<IContext, ? extends V>, IContext) - 类中的静态方法 cn.wjybxx.concurrent.TaskBuilder
 
newIncompletePromise(Executor) - 类中的方法 cn.wjybxx.concurrent.Promise
 
newIncompletePromise(Executor) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
newInstance() - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
newInstance() - 接口中的方法 cn.wjybxx.concurrent.ICancelTokenSource
 
newInstance() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
newInstance(boolean) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
newInstance(boolean) - 接口中的方法 cn.wjybxx.concurrent.ICancelTokenSource
创建一个同类型实例。
newInstance(boolean) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
newJdkCombiner() - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
newPromise() - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
newPromise() - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
newPromise() - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
newPromise() - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
创建一个promise以用于任务调度 如果当前Executor是SingleThreadExecutor,返回的future将禁止在当前EventLoop上执行阻塞操作。
newPromise() - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
newPromise() - 类中的静态方法 cn.wjybxx.sequential.UniFutureUtils
 
newPromise(Executor) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
newPromise(Executor) - 类中的静态方法 cn.wjybxx.sequential.UniFutureUtils
 
newScheduledExecutor(TimeProvider) - 类中的静态方法 cn.wjybxx.sequential.UniFutureUtils
返回的UniExecutorService.update()默认不执行tick过程中新增加的任务
newScheduledExecutor(TimeProvider, int) - 类中的静态方法 cn.wjybxx.sequential.UniFutureUtils
 
newScheduledPromise() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
newScheduledPromise() - 接口中的方法 cn.wjybxx.concurrent.IScheduledExecutorService
创建一个promise以用于任务调度 如果当前Executor是SingleThreadExecutor,返回的future将禁止在当前EventLoop上执行阻塞操作。
newScheduledPromise() - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
newTaskFor(Runnable, T) - 类中的方法 cn.wjybxx.concurrent.ExecutorServiceAdapter
 
newTaskFor(Callable<T>) - 类中的方法 cn.wjybxx.concurrent.ExecutorServiceAdapter
 
newThread(Runnable) - 类中的方法 cn.wjybxx.concurrent.DefaultThreadFactory
 
newTimeProvider(EventLoop) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
newTimeProvider(EventLoop, long) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
创建一个支持缓存的时间提供器,且可以多线程安全访问。
newTimeSharing(TimeSharingTask<? super V>) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
newTimeSharing(TimeSharingTask<? super V>) - 类中的静态方法 cn.wjybxx.concurrent.TaskBuilder
 
newTimeSharing(TimeSharingTask<? super V>, IContext) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
newTimeSharing(TimeSharingTask<? super V>, IContext) - 类中的静态方法 cn.wjybxx.concurrent.TaskBuilder
 
nextSequence() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
开放的特殊接口 1.按照规范,在调用该方法后,必须在finally块中进行发布。
nextSequence(int) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
1.按照规范,在调用该方法后,必须在finally块中进行发布。
NONE - 接口中的静态变量 cn.wjybxx.concurrent.ICancelToken
永不取消的Token
NONE - 接口中的静态变量 cn.wjybxx.concurrent.IContext
空上下文 1.
number - 枚举类中的变量 cn.wjybxx.concurrent.EventLoopState
 

O

obj0 - 类中的变量 cn.wjybxx.concurrent.RingBufferEvent
 
obj1 - 类中的变量 cn.wjybxx.concurrent.RingBufferEvent
 
obj2 - 类中的变量 cn.wjybxx.concurrent.RingBufferEvent
 
ofAction(Runnable, int, IScheduledPromise<?>, long, long) - 类中的静态方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
ofAction(Runnable, IContext, int, IPromise<?>) - 类中的静态方法 cn.wjybxx.concurrent.PromiseTask
 
ofAction(Runnable, IContext, int, IScheduledPromise<?>, long, long) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
ofAction(Consumer<? super IContext>, IContext, int, IPromise<?>) - 类中的静态方法 cn.wjybxx.concurrent.PromiseTask
 
ofAction(Consumer<? super IContext>, IContext, int, IScheduledPromise<?>, long, long) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
ofAction(Consumer<? super IContext>, IContext, int, IScheduledPromise<?>, long, long) - 类中的静态方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
ofBlackboard(U) - 类中的静态方法 cn.wjybxx.concurrent.Context
 
ofBlackboard(U, Object) - 类中的静态方法 cn.wjybxx.concurrent.Context
 
ofBuilder(ScheduledTaskBuilder<V>, IScheduledPromise<V>, long, long) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
ofBuilder(ScheduledTaskBuilder<V>, IScheduledPromise<V>, long, long) - 类中的静态方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
ofBuilder(TaskBuilder<V>, IPromise<V>) - 类中的静态方法 cn.wjybxx.concurrent.PromiseTask
 
ofBuilder(TaskBuilder<V>, IScheduledPromise<V>, long, long) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
ofBuilder(TaskBuilder<V>, IScheduledPromise<V>, long, long) - 类中的静态方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
ofCancelToken(ICancelToken) - 类中的静态方法 cn.wjybxx.concurrent.Context
 
ofCancelToken(ICancelToken) - 类中的静态方法 cn.wjybxx.concurrent.MiniContext
 
OFFSET_PRIORITY - 类中的静态变量 cn.wjybxx.concurrent.PromiseTask
 
OFFSET_PRIORITY - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
优先级的存储偏移量
OFFSET_SCHEDULE_TYPE - 类中的静态变量 cn.wjybxx.concurrent.PromiseTask
调度类型的偏移量
OFFSET_TASK_TYPE - 类中的静态变量 cn.wjybxx.concurrent.PromiseTask
任务类型的偏移量
ofFunction(Callable<? extends V>, int, IScheduledPromise<V>, long, long) - 类中的静态方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
ofFunction(Callable<? extends V>, IContext, int, IPromise<V>) - 类中的静态方法 cn.wjybxx.concurrent.PromiseTask
 
ofFunction(Callable<? extends V>, IContext, int, IScheduledPromise<V>, long, long) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
ofFunction(Function<? super IContext, ? extends V>, IContext, int, IPromise<V>) - 类中的静态方法 cn.wjybxx.concurrent.PromiseTask
 
ofFunction(Function<? super IContext, ? extends V>, IContext, int, IScheduledPromise<V>, long, long) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
ofFunction(Function<? super IContext, ? extends V>, IContext, int, IScheduledPromise<V>, long, long) - 类中的静态方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
ofState(Object) - 类中的静态方法 cn.wjybxx.concurrent.Context
 
ofState(Object) - 类中的静态方法 cn.wjybxx.concurrent.MiniContext
 
ofState(Object, ICancelToken) - 类中的静态方法 cn.wjybxx.concurrent.Context
 
ofState(Object, ICancelToken) - 类中的静态方法 cn.wjybxx.concurrent.MiniContext
 
ofState(Object, ICancelToken, U, Object) - 类中的静态方法 cn.wjybxx.concurrent.Context
 
onCancelRequested(ICancelToken) - 接口中的方法 cn.wjybxx.concurrent.CancelTokenListener
 
onCancelRequested(ICancelToken) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
onCancelRequested(ICancelToken) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
onCompleted(BiConsumer<? super IFuture<T>, ? super IContext>, IContext) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
onCompleted(BiConsumer<? super IFuture<T>, ? super IContext>, IContext) - 类中的方法 cn.wjybxx.concurrent.Promise
 
onCompleted(BiConsumer<? super IFuture<T>, ? super IContext>, IContext) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
onCompleted(BiConsumer<? super IFuture<T>, ? super IContext>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
该接口支持Context参数,可响应取消
onCompleted(BiConsumer<? super IFuture<T>, ? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
onCompleted(BiConsumer<? super IFuture<T>, ? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
onCompleted(BiConsumer<? super IFuture<V>, ? super IContext>, IContext) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
onCompleted(BiConsumer<? super IFuture<V>, ? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
onCompleted(Consumer<? super IFuture<T>>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
onCompleted(Consumer<? super IFuture<T>>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
onCompleted(Consumer<? super IFuture<T>>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
onCompleted(Consumer<? super IFuture<T>>, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
最原始的Future监听接口 1.
onCompleted(Consumer<? super IFuture<T>>, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
onCompleted(Consumer<? super IFuture<T>>, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
onCompleted(Consumer<? super IFuture<V>>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
onCompleted(Consumer<? super IFuture<V>>, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
onCompletedAsync(Executor, BiConsumer<? super IFuture<T>, ? super IContext>, IContext) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
onCompletedAsync(Executor, BiConsumer<? super IFuture<T>, ? super IContext>, IContext) - 类中的方法 cn.wjybxx.concurrent.Promise
 
onCompletedAsync(Executor, BiConsumer<? super IFuture<T>, ? super IContext>, IContext) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
onCompletedAsync(Executor, BiConsumer<? super IFuture<T>, ? super IContext>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
onCompletedAsync(Executor, BiConsumer<? super IFuture<T>, ? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
onCompletedAsync(Executor, BiConsumer<? super IFuture<T>, ? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
onCompletedAsync(Executor, BiConsumer<? super IFuture<V>, ? super IContext>, IContext) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
onCompletedAsync(Executor, BiConsumer<? super IFuture<V>, ? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
onCompletedAsync(Executor, Consumer<? super IFuture<T>>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
onCompletedAsync(Executor, Consumer<? super IFuture<T>>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
onCompletedAsync(Executor, Consumer<? super IFuture<T>>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
onCompletedAsync(Executor, Consumer<? super IFuture<T>>, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
onCompletedAsync(Executor, Consumer<? super IFuture<T>>, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
onCompletedAsync(Executor, Consumer<? super IFuture<T>>, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
onCompletedAsync(Executor, Consumer<? super IFuture<V>>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
onCompletedAsync(Executor, Consumer<? super IFuture<V>>, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
onEvent(E) - 类中的方法 cn.wjybxx.concurrent.SimpleWatcherMgr
 
onEvent(E) - 接口中的方法 cn.wjybxx.concurrent.WatcherMgr
测试是否是Watcher等待的事件
onEvent(E) - 接口中的方法 cn.wjybxx.concurrent.WatcherMgr.Watcher
onEvent的最好是仅仅将数据传输到监听者线程并唤醒线程,不要执行复杂的逻辑 比如通过future传输数据,监听者在future上阻塞。
onEvent(Object) - 类中的方法 cn.wjybxx.concurrent.EmptyAgent
 
onEvent(T) - 接口中的方法 cn.wjybxx.concurrent.EventLoopAgent
收到一个用户自定义事件或任务 IAgentEvent.getType()大于0的事件
onShutdown() - 类中的方法 cn.wjybxx.concurrent.EmptyAgent
 
onShutdown() - 接口中的方法 cn.wjybxx.concurrent.EventLoopAgent
当事件循环退出时将调用该方法 退出前进行必要的清理,释放系统资源
onStart() - 类中的方法 cn.wjybxx.concurrent.EmptyAgent
 
onStart() - 接口中的方法 cn.wjybxx.concurrent.EventLoopAgent
当事件循环启动的时候将调用该方法 注意:该方法抛出任何异常,都将导致事件循环线程终止!
options - 类中的变量 cn.wjybxx.concurrent.PromiseTask
调度选项
options - 类中的变量 cn.wjybxx.concurrent.RingBufferEvent
 

P

parent - 类中的变量 cn.wjybxx.concurrent.AbstractEventLoop
 
parent() - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
parent() - 类中的方法 cn.wjybxx.concurrent.Context
父上下文 由于我们没有提供默认的黑板实现,因此需要支持用户迭代上下文。
parent() - 接口中的方法 cn.wjybxx.concurrent.EventLoop
返回该EventLoop线程所在的线程组(管理该EventLoop的容器)。
PENDING - 枚举类 中的枚举常量 cn.wjybxx.concurrent.TaskStatus
任务尚在队列中等待
promise - 类中的变量 cn.wjybxx.concurrent.PromiseTask
任务关联的promise - 用户可能在任务完成后继续访问,因此不能清理
Promise<T> - cn.wjybxx.concurrent中的类
声明IFuture接口加快instanceof测试
Promise() - 类的构造器 cn.wjybxx.concurrent.Promise
 
Promise(Executor) - 类的构造器 cn.wjybxx.concurrent.Promise
 
PromiseTask<V> - cn.wjybxx.concurrent中的类
ps:该类的数据是(部分)开放的,以支持不同的扩展。
PromiseTask(TaskBuilder<V>, IPromise<V>) - 类的构造器 cn.wjybxx.concurrent.PromiseTask
 
PromiseTask(Object, IContext, int, IPromise<V>) - 类的构造器 cn.wjybxx.concurrent.PromiseTask
 
PromiseTask(Object, IContext, int, IPromise<V>, int) - 类的构造器 cn.wjybxx.concurrent.PromiseTask
 
publish(long) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
publish(long, long) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 

R

ReadonlyCancelToken - cn.wjybxx.concurrent中的类
 
ReadonlyCancelToken(ICancelToken) - 类的构造器 cn.wjybxx.concurrent.ReadonlyCancelToken
 
ReadOnlyFuture<T> - cn.wjybxx.concurrent中的类
IPromise提供只读视图
ReadOnlyFuture(IFuture<T>) - 类的构造器 cn.wjybxx.concurrent.ReadOnlyFuture
 
reason() - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
reason() - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
取消的原因 (1~10为底层使用,10以上为用户自定义)T
reason() - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
reason() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
record() - 类中的静态方法 cn.wjybxx.concurrent.RejectedExecutionHandlers
仅仅是记录一条错误日志
registerCancellation() - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
监听取消令牌中的取消信号
registerCancellation() - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
监听取消令牌中的取消信号
rejected(Runnable, EventLoop) - 接口中的方法 cn.wjybxx.concurrent.RejectedExecutionHandler
Method that may be invoked by a EventLoop when execute cannot accept a task.
RejectedExecutionHandler - cn.wjybxx.concurrent中的接口
当提交的任务被拒绝时的处理策略,修改自JDK的或者说Netty的拒绝策略。
RejectedExecutionHandlers - cn.wjybxx.concurrent中的类
 
removeNoLogRequiredException(Class<? extends Throwable>) - 类中的静态方法 cn.wjybxx.concurrent.FutureLogger
删除一个异常类型
removeScheduled(UniScheduledPromiseTask<?>) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
请求删除给定的任务
removeScheduled(UniScheduledPromiseTask<?>) - 类中的方法 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
reSchedulePeriodic(UniScheduledPromiseTask<?>, boolean) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
请求将当前任务重新压入队列 1.一定从当前线程调用 2.如果无法继续调度任务,则取消任务
reSchedulePeriodic(UniScheduledPromiseTask<?>, boolean) - 类中的方法 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
reset() - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
重置状态,以供复用
resultNow() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
resultNow() - 接口中的方法 cn.wjybxx.concurrent.IFuture
非阻塞方式获取Future的执行结果
resultNow() - 类中的方法 cn.wjybxx.concurrent.Promise
 
resultNow() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
RingBufferEvent - cn.wjybxx.concurrent中的类
被缓存的事件对象 1.用于Disruptor或类似的系统,当我们缓存对象时,更适合将字段展开以提高内存利用率 2.这只是个简单的数据传输对象,getter/setter什么的不必要 3.实现Runnable以支持直接提交到Executor 4.支持EventLoopAgent的都将支持该事件。
RingBufferEvent() - 类的构造器 cn.wjybxx.concurrent.RingBufferEvent
 
root() - 类中的方法 cn.wjybxx.concurrent.Context
根上下文 1.根上下文中可能保存着一些有用的行为。
run() - 接口中的方法 cn.wjybxx.concurrent.IFutureTask
run方法应当使IFutureTask.future()进入完成状态
run() - 类中的方法 cn.wjybxx.concurrent.PromiseTask
 
run() - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
run() - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
RUNNING - 枚举类 中的枚举常量 cn.wjybxx.concurrent.EventLoopState
启动成功,运行中
runningFuture() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
runningFuture() - 接口中的方法 cn.wjybxx.concurrent.EventLoop
等待线程进入运行状态的future future会在EventLoop成功启动的时候进入完成状态
runTask() - 类中的方法 cn.wjybxx.concurrent.PromiseTask
运行其它类型任务
runTimeSharing() - 类中的方法 cn.wjybxx.concurrent.PromiseTask
运行分时任务

S

safeExecute(Runnable) - 类中的静态方法 cn.wjybxx.sequential.AbstractUniExecutor
 
schedule(ScheduledTaskBuilder<V>) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
schedule(ScheduledTaskBuilder<V>) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
schedule(ScheduledTaskBuilder<V>) - 接口中的方法 cn.wjybxx.concurrent.IScheduledExecutorService
为避免过多的参数和重载方法,我们通过Builder构建更为复杂的任务。
schedule(ScheduledTaskBuilder<V>) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
schedule(Runnable, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
schedule(Runnable, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
schedule(Runnable, long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IScheduledExecutorService
延迟指定时间后执行给定的任务
schedule(Runnable, long, TimeUnit) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
schedule(Callable<V>, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
schedule(Callable<V>, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
schedule(Callable<V>, long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IScheduledExecutorService
延迟指定时间后执行给定的任务
schedule(Callable<V>, long, TimeUnit) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
SCHEDULE_BARRIER - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
事件循环在执行该任务前必须先处理一次定时任务队列。
SCHEDULE_DYNAMIC_DELAY - 类中的静态变量 cn.wjybxx.concurrent.ScheduledTaskBuilder
动态延迟 -- 每次执行后计算下一次的延迟
SCHEDULE_FIXED_DELAY - 类中的静态变量 cn.wjybxx.concurrent.ScheduledTaskBuilder
固定延迟 -- 两次执行的间隔大于等于给定的延迟
SCHEDULE_FIXED_RATE - 类中的静态变量 cn.wjybxx.concurrent.ScheduledTaskBuilder
固定频率 -- 执行次数
SCHEDULE_ONCE - 类中的静态变量 cn.wjybxx.concurrent.ScheduledTaskBuilder
执行一次
scheduleAction(Consumer<? super IContext>, IContext, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
scheduleAction(Consumer<? super IContext>, IContext, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
scheduleAction(Consumer<? super IContext>, IContext, long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IScheduledExecutorService
延迟指定时间后执行给定的任务
scheduleAction(Consumer<? super IContext>, IContext, long, TimeUnit) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IScheduledExecutorService
以固定频率执行给定的任务(少执行了会补-慎用)
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
ScheduledPromise<T> - cn.wjybxx.concurrent中的类
 
ScheduledPromise() - 类的构造器 cn.wjybxx.concurrent.ScheduledPromise
 
ScheduledPromise(Executor) - 类的构造器 cn.wjybxx.concurrent.ScheduledPromise
 
ScheduledPromiseTask<V> - cn.wjybxx.concurrent中的类
定时任务的Task抽象 这个实现有较多特殊逻辑,不适合对外
ScheduledTaskBuilder<V> - cn.wjybxx.concurrent中的类
该对象为临时对象,应避免共享
ScheduledTaskBuilder(TaskBuilder<? extends V>) - 类的构造器 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
scheduleFunc(Function<? super IContext, V>, IContext, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
scheduleFunc(Function<? super IContext, V>, IContext, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
scheduleFunc(Function<? super IContext, V>, IContext, long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IScheduledExecutorService
延迟指定时间后执行给定的任务
scheduleFunc(Function<? super IContext, V>, IContext, long, TimeUnit) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - 接口中的方法 cn.wjybxx.concurrent.IScheduledExecutorService
以固定延迟执行给定的任务(少执行了就少执行了)
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
select() - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
select() - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
select() - 接口中的方法 cn.wjybxx.concurrent.EventLoop
 
select() - 接口中的方法 cn.wjybxx.concurrent.EventLoopChooser
按默认规则分配一个EventLoop
select() - 接口中的方法 cn.wjybxx.concurrent.EventLoopGroup
选择一个 EventLoop用于接下来的任务调度
select(int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
select(int) - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
select(int) - 接口中的方法 cn.wjybxx.concurrent.EventLoop
 
select(int) - 接口中的方法 cn.wjybxx.concurrent.EventLoopChooser
通过给定键选择一个EventLoop
select(int) - 接口中的方法 cn.wjybxx.concurrent.FixedEventLoopGroup
通过一个键选择一个EventLoop 这提供了第二种绑定线程的方式,第一种方式是通过EventLoopGroup.select()分配一个线程,让业务对象持有EventLoop的引用。
selectAll() - 类中的方法 cn.wjybxx.concurrent.FutureCombiner
要求所有的future都成功时才进入成功状态 一旦有任务失败则立即失败
selectAll() - 类中的方法 cn.wjybxx.concurrent.JDKFutureCombiner
要求所有的future都成功时才进入成功状态 一旦有任务失败则立即失败
selectAll() - 类中的方法 cn.wjybxx.sequential.UniFutureCombiner
要求所有的future都成功时才进入成功状态 一旦有任务失败则立即失败
selectAll(boolean) - 类中的方法 cn.wjybxx.concurrent.FutureCombiner
要求所有的future都成功时才进入成功状态; 任意任务失败,最终结果都表现为失败
selectAll(boolean) - 类中的方法 cn.wjybxx.concurrent.JDKFutureCombiner
要求所有的future都成功时才进入成功状态; 任意任务失败,最终结果都表现为失败
selectAll(boolean) - 类中的方法 cn.wjybxx.sequential.UniFutureCombiner
要求所有的future都成功时才进入成功状态; 任意任务失败,最终结果都表现为失败
selectN(int, boolean) - 类中的静态方法 cn.wjybxx.concurrent.AggregateOptions
成功完成n个
selectN(int, boolean) - 类中的方法 cn.wjybxx.concurrent.FutureCombiner
成功N个触发成功 如果触发失败,只随机记录一个Future的异常信息,而不记录所有的异常信息
selectN(int, boolean) - 类中的方法 cn.wjybxx.concurrent.JDKFutureCombiner
成功N个触发成功 如果触发失败,只随机记录一个Future的异常信息,而不记录所有的异常信息
selectN(int, boolean) - 类中的方法 cn.wjybxx.sequential.UniFutureCombiner
要求所有的future都成功时才进入成功状态; 任意任务失败,最终结果都表现为失败
selfCollection - 类中的变量 cn.wjybxx.concurrent.AbstractEventLoop
 
setAgent(EventLoopAgent<? super T>) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
 
setAgent(EventLoopAgent<? super T>) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
 
setAggregatePromise(IPromise<Object>) - 类中的方法 cn.wjybxx.concurrent.FutureCombiner
设置接收结果的Promise 如果在执行操作前没有指定Promise,将创建Promise实例。
setAggregatePromise(IPromise<Object>) - 类中的方法 cn.wjybxx.sequential.UniFutureCombiner
设置接收结果的Promise 如果在执行操作前没有指定Promise,将创建Promise实例。
setAggregatePromise(CompletableFuture<Object>) - 类中的方法 cn.wjybxx.concurrent.JDKFutureCombiner
设置接收结果的Promise 如果在执行操作前没有指定Promise,将创建Promise实例。
setBatchSize(int) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
 
setBatchSize(int) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
 
setCancelled(int) - 接口中的方法 cn.wjybxx.concurrent.IPromise
将Future置为已取消状态,如果future已进入完成状态,则抛出IllegalStateException
setCancelled(int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
setCancelled(int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
setChooserFactory(EventLoopChooserFactory) - 类中的方法 cn.wjybxx.concurrent.EventLoopGroupBuilder
 
setCleanBufferOnExit(boolean) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
 
setComputing() - 接口中的方法 cn.wjybxx.concurrent.IPromise
将future置为计算中状态,如果future之前不处于pending状态,则抛出IllegalStateException
setComputing() - 类中的方法 cn.wjybxx.concurrent.Promise
 
setComputing() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
setCtlBit(int, boolean) - 类中的方法 cn.wjybxx.concurrent.PromiseTask
设置ctl中的某个bit
setCtx(IContext) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
setCtx(IContext) - 类中的方法 cn.wjybxx.concurrent.TaskBuilder
任务的上下文 即使用户的任务不接收ctx,executor也可能需要
setEnable(int, int, boolean) - 类中的静态方法 cn.wjybxx.concurrent.TaskOption
启用或关闭特定选项
setEventLoopFactory(EventLoopFactory) - 类中的方法 cn.wjybxx.concurrent.EventLoopGroupBuilder
 
setEventSequencer(EventSequencer<? extends T>) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
 
setException(Throwable) - 接口中的方法 cn.wjybxx.concurrent.IPromise
将future置为失败状态,如果future已进入完成状态,则抛出IllegalStateException
setException(Throwable) - 类中的方法 cn.wjybxx.concurrent.Promise
 
setException(Throwable) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
setExecutor(UniScheduledExecutor) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
setFixedDelay(long, long) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
setFixedDelay(long, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
setFixedRate(long, long) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
setFixedRate(long, long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
setFuture(IPromise<? super V>, ICompletionStage<V>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
setFuture(IPromise<? super V>, CompletionStage<V>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
setFuture(CompletableFuture<? super V>, ICompletionStage<V>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
setFuture(CompletableFuture<? super V>, CompletionStage<V>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
setFutureAsync(Executor, IPromise<? super V>, ICompletionStage<V>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
setFutureAsync(Executor, IPromise<? super V>, ICompletionStage<V>, int) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
setFutureAsync(Executor, IPromise<? super V>, CompletionStage<V>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
setFutureAsync(Executor, CompletableFuture<? super V>, ICompletionStage<V>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
setFutureAsync(Executor, CompletableFuture<? super V>, ICompletionStage<V>, int) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
setFutureAsync(Executor, CompletableFuture<? super V>, CompletionStage<V>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
setHandler(FutureLogger.LogHandler) - 类中的静态方法 cn.wjybxx.concurrent.FutureLogger
设置异常处理器
setId(long) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
setId(long) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
setLogLevel(Level) - 类中的静态方法 cn.wjybxx.concurrent.FutureLogger
 
setMainModule(EventLoopModule) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
 
setMainModule(EventLoopModule) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
 
setNextTriggerTime(long) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
setNextTriggerTime(long) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
setNumChildren(int) - 类中的方法 cn.wjybxx.concurrent.EventLoopGroupBuilder
 
setObj0(Object) - 接口中的方法 cn.wjybxx.concurrent.IAgentEvent
设置事件的第一个参数
setObj0(Object) - 类中的方法 cn.wjybxx.concurrent.MiniAgentEvent
 
setObj0(Object) - 类中的方法 cn.wjybxx.concurrent.RingBufferEvent
 
setOnlyOnce(long) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
setOnlyOnce(long, TimeUnit) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
setOptions(int) - 接口中的方法 cn.wjybxx.concurrent.IAgentEvent
将options存储在Event上。
setOptions(int) - 类中的方法 cn.wjybxx.concurrent.MiniAgentEvent
 
setOptions(int) - 类中的方法 cn.wjybxx.concurrent.RingBufferEvent
 
setOptions(int) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
setOptions(int) - 类中的方法 cn.wjybxx.concurrent.TaskBuilder
 
setOptions(int) - 类中的方法 cn.wjybxx.concurrent.TaskOptionBuilder
 
setParent(EventLoopGroup) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
 
setParent(EventLoopGroup) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
 
setPriority(int) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
 
setPriority(int) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
setPriority(int) - 类中的方法 cn.wjybxx.concurrent.TaskBuilder
 
setPriority(int) - 类中的方法 cn.wjybxx.concurrent.TaskOptionBuilder
设置任务的优先级
setPriority(int) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
 
setPriority(int, int) - 类中的静态方法 cn.wjybxx.concurrent.TaskOption
设置优先级
setRejectedExecutionHandler(RejectedExecutionHandler) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
 
setRejectedExecutionHandler(RejectedExecutionHandler) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
 
setResult(T) - 接口中的方法 cn.wjybxx.concurrent.IPromise
将future置为成功完成状态,如果future已进入完成状态,则抛出IllegalStateException
setResult(T) - 类中的方法 cn.wjybxx.concurrent.Promise
 
setResult(T) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
setSchedulePhase(int) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
setSchedulePhase(int) - 类中的方法 cn.wjybxx.concurrent.TaskBuilder
 
setSchedulePhase(int) - 类中的方法 cn.wjybxx.concurrent.TaskOptionBuilder
 
setSchedulePhase(int, int) - 类中的静态方法 cn.wjybxx.concurrent.TaskOption
设置任务的调度阶段
setStarted() - 类中的方法 cn.wjybxx.concurrent.PromiseTask
将分时任务标记为已启动
setTask(IScheduledFutureTask<? extends T>) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromise
 
setTask(IScheduledFutureTask<? extends T>) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromise
 
setTask(IScheduledFutureTask<? extends V>) - 接口中的方法 cn.wjybxx.concurrent.IScheduledPromise
注入关联的任务. 1.Promise需要了解任务的状态以支持用户的查询; 2.由于存在双向依赖,因此需要延迟注入;
setTerminationHook(Runnable) - 类中的方法 cn.wjybxx.concurrent.EventLoopGroupBuilder
 
setThreadFactory(ThreadFactory) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
 
setThreadFactory(ThreadFactory) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder
 
setTimeout(long) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
设置周期性任务的超时时间(非分时任务也可以)
setTimeoutByCount(int) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
通过预估执行次数限制超时时间 该方法对于fixedRate类型的任务有帮助
setTimeUnit(TimeUnit) - 类中的方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
设置时间单位
setTriggered() - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
将任务标记为已触发过
setTriggered() - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
将任务标记为已触发过
setType(int) - 接口中的方法 cn.wjybxx.concurrent.IAgentEvent
设置事件的类型
setType(int) - 类中的方法 cn.wjybxx.concurrent.MiniAgentEvent
 
setType(int) - 类中的方法 cn.wjybxx.concurrent.RingBufferEvent
 
setWaitStrategy(WaitStrategy) - 类中的方法 cn.wjybxx.concurrent.EventLoopBuilder.DisruptorBuilder
 
SHARABLE - 类中的静态变量 cn.wjybxx.concurrent.MiniContext
 
sharedProps() - 类中的方法 cn.wjybxx.concurrent.Context
 
sharedProps() - 接口中的方法 cn.wjybxx.concurrent.IContext
共享属性(配置上下文) 1.用于支持【数据和行为分离】的Task体系。
sharedProps() - 类中的方法 cn.wjybxx.concurrent.MiniContext
 
shutdown() - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
shutdown() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
shutdown() - 接口中的方法 cn.wjybxx.concurrent.EventLoopGroup
请求关闭 ExecutorService,不再接收新的任务。
shutdown() - 类中的方法 cn.wjybxx.concurrent.ExecutorServiceAdapter
 
shutdown() - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
请求关闭 ExecutorService,不再接收新的任务。
shutdown() - 类中的方法 cn.wjybxx.sequential.DefaultUniExecutor
 
shutdown() - 类中的方法 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
SHUTDOWN - 枚举类 中的枚举常量 cn.wjybxx.concurrent.EventLoopState
二阶段关闭状态,终止前的清理工作
shutdownNow() - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
shutdownNow() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
shutdownNow() - 接口中的方法 cn.wjybxx.concurrent.EventLoopGroup
JDK文档: 请求关闭 ExecutorService,尝试取消所有正在执行的任务,停止所有待执行的任务,并不再接收新的任务。
shutdownNow() - 类中的方法 cn.wjybxx.concurrent.ExecutorServiceAdapter
 
shutdownNow() - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
JDK文档: 请求关闭 ExecutorService,尝试取消所有正在执行的任务,停止所有待执行的任务,并不再接收新的任务。
shutdownNow() - 类中的方法 cn.wjybxx.sequential.DefaultUniExecutor
 
shutdownNow() - 类中的方法 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
SHUTTING_DOWN - 枚举类 中的枚举常量 cn.wjybxx.concurrent.EventLoopState
正在关闭
SimpleWatcherMgr<E> - cn.wjybxx.concurrent中的类
一个简单的Watcher管理器 由于多用在多线程环境下,因此提供了缓存行填充特性
SimpleWatcherMgr() - 类的构造器 cn.wjybxx.concurrent.SimpleWatcherMgr
 
SingleThreadExecutor - cn.wjybxx.concurrent中的接口
单线程的Executor
spliterator() - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
spliterator() - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
ST_RUNNING - 枚举类中的静态变量 cn.wjybxx.concurrent.EventLoopState
运行状态
ST_SHUTDOWN - 枚举类中的静态变量 cn.wjybxx.concurrent.EventLoopState
已关闭状态,正在进行最后的清理
ST_SHUTTING_DOWN - 枚举类中的静态变量 cn.wjybxx.concurrent.EventLoopState
正在关闭状态
ST_STARTING - 枚举类中的静态变量 cn.wjybxx.concurrent.EventLoopState
启动中
ST_TERMINATED - 枚举类中的静态变量 cn.wjybxx.concurrent.EventLoopState
终止状态
ST_UNSTARTED - 枚举类中的静态变量 cn.wjybxx.concurrent.EventLoopState
初始状态,未启动状态
STAGE_CHECK_OBJECT_CTX - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
当回调形参接收的是Object类型的ctx时,也尝试检测obj实例是否为IContext类型,并检测取消信号。
STAGE_INHERIT_TOKEN - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
该选项表示异步任务需要继承上游任务的取消令牌。
STAGE_NON_TRANSITIVE - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
默认情况下,如果一个异步任务的Executor是IExecutor类型,options将传递给Executor。
STAGE_TRY_INLINE - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
如果一个异步任务当前已在目标SingleThreadExecutor线程,则立即执行,而不提交任务。
start() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
start() - 接口中的方法 cn.wjybxx.concurrent.EventLoop
主动启动EventLoop 一般而言,我们可以不主动启动EventLoop,在提交任务时会自动启动EventLoop,但如果我们需要确保EventLoop处于正确的状态才能对外提供服务时,则可以主动启动时EventLoop。
start(IContext, IPromise<? super V>) - 接口中的方法 cn.wjybxx.concurrent.TimeSharingTask
任务开始前调用 1. start和update是连续执行的。
StartFailedException - cn.wjybxx.concurrent中的异常错误类
用于表示EventLoop启动失败
StartFailedException(String) - 异常错误类的构造器 cn.wjybxx.concurrent.StartFailedException
 
StartFailedException(String, Throwable) - 异常错误类的构造器 cn.wjybxx.concurrent.StartFailedException
 
StartFailedException(String, Throwable, boolean, boolean) - 异常错误类的构造器 cn.wjybxx.concurrent.StartFailedException
 
StartFailedException(Throwable) - 异常错误类的构造器 cn.wjybxx.concurrent.StartFailedException
 
STARTING - 枚举类 中的枚举常量 cn.wjybxx.concurrent.EventLoopState
启动中
state() - 类中的方法 cn.wjybxx.concurrent.Context
 
state() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
state() - 接口中的方法 cn.wjybxx.concurrent.EventLoop
 
state() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
已过时。
state() - 接口中的方法 cn.wjybxx.concurrent.IContext
任务绑定的状态 1.任务之间通常不共享 -- 私有属性。
state() - 接口中的方法 cn.wjybxx.concurrent.IFuture
已过时。
state() - 类中的方法 cn.wjybxx.concurrent.MiniContext
 
state() - 类中的方法 cn.wjybxx.concurrent.Promise
已过时。
state() - 类中的方法 cn.wjybxx.sequential.UniPromise
已过时。
status() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
status() - 接口中的方法 cn.wjybxx.concurrent.IFuture
future关联的任务的状态
status() - 类中的方法 cn.wjybxx.concurrent.Promise
 
status() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
stop(IContext, IPromise<? super V>) - 接口中的方法 cn.wjybxx.concurrent.TimeSharingTask
任务结束时调用 1.只有在成功执行TimeSharingTask.start(IContext, IPromise)的情况下才会调用 2.会在start所在的executor调用 -- 如果目标executor已关闭则不会执行。
submit(IExecutor, TaskBuilder<T>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
submit(TaskBuilder<T>) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
submit(TaskBuilder<T>) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
submit(TaskBuilder<T>) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
submit(TaskBuilder<T>) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
submit(TaskBuilder<V>) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
submit(Runnable) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
submit(Runnable, T) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
submit(Callable<T>) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
submit(Callable<T>) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
submit(Callable<T>) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
submit(Callable<T>) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
submit(Callable<T>) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
submitAction(IExecutor, Runnable, int) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
submitAction(IExecutor, Consumer<? super IContext>, IContext, int) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
submitAction(Runnable) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
submitAction(Runnable) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
submitAction(Runnable) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
submitAction(Runnable) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
submitAction(Runnable) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
submitAction(Runnable, int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
该方法可能和ExecutorService.submit(Runnable, Object)冲突,因此我们要带后缀
submitAction(Runnable, int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
submitAction(Runnable, int) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
submitAction(Runnable, int) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
submitAction(Runnable, int) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
submitAction(Executor, Runnable) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
submitAction(Executor, Consumer<? super IContext>, IContext) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
submitAction(Consumer<? super IContext>, IContext) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
submitAction(Consumer<? super IContext>, IContext) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
submitAction(Consumer<? super IContext>, IContext) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
submitAction(Consumer<? super IContext>, IContext) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
submitAction(Consumer<? super IContext>, IContext) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
submitAction(Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
submitAction(Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
submitAction(Consumer<? super IContext>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
submitAction(Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
submitAction(Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
submitFunc(IExecutor, Callable<? extends V>, int) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
submitFunc(IExecutor, Function<? super IContext, ? extends V>, IContext, int) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
submitFunc(Callable<? extends T>) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
submitFunc(Callable<? extends T>, int) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
submitFunc(Callable<? extends V>) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
submitFunc(Callable<? extends V>) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
submitFunc(Callable<? extends V>) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
submitFunc(Callable<? extends V>) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
submitFunc(Callable<? extends V>, int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
submitFunc(Callable<? extends V>, int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
submitFunc(Callable<? extends V>, int) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
submitFunc(Callable<? extends V>, int) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
submitFunc(Executor, Callable<? extends V>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
submitFunc(Executor, Function<? super IContext, ? extends V>, IContext) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
submitFunc(Function<? super IContext, ? extends T>, IContext) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
submitFunc(Function<? super IContext, ? extends T>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
 
submitFunc(Function<? super IContext, ? extends V>, IContext) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
submitFunc(Function<? super IContext, ? extends V>, IContext) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
submitFunc(Function<? super IContext, ? extends V>, IContext) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
submitFunc(Function<? super IContext, ? extends V>, IContext) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
submitFunc(Function<? super IContext, ? extends V>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
submitFunc(Function<? super IContext, ? extends V>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoopGroup
 
submitFunc(Function<? super IContext, ? extends V>, IContext, int) - 类中的方法 cn.wjybxx.sequential.AbstractUniExecutor
 
submitFunc(Function<? super IContext, ? extends V>, IContext, int) - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
 
SUCCESS - 枚举类 中的枚举常量 cn.wjybxx.concurrent.TaskStatus
任务执行成功 - 完成状态
successRequire - 类中的变量 cn.wjybxx.concurrent.AggregateOptions
 
supplyAsync(Executor, Supplier<? extends T>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 

T

TaskBuilder<V> - cn.wjybxx.concurrent中的类
任务构建器
TaskBuilder(int, Object) - 类的构造器 cn.wjybxx.concurrent.TaskBuilder
 
TaskBuilder(int, Object, IContext) - 类的构造器 cn.wjybxx.concurrent.TaskBuilder
 
TaskBuilder(TaskBuilder<? extends V>) - 类的构造器 cn.wjybxx.concurrent.TaskBuilder
 
taskCount() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
当前任务数 注意:返回值是一个估算值!
TaskInsufficientException - cn.wjybxx.concurrent中的异常错误类
该异常表示FutureCombiner监听的任务数不足以到达成功条件
TaskInsufficientException() - 异常错误类的构造器 cn.wjybxx.concurrent.TaskInsufficientException
 
TaskInsufficientException(String) - 异常错误类的构造器 cn.wjybxx.concurrent.TaskInsufficientException
 
TaskOption - cn.wjybxx.concurrent中的类
任务调度选项
TaskOption() - 类的构造器 cn.wjybxx.concurrent.TaskOption
 
TaskOptionBuilder - cn.wjybxx.concurrent中的类
 
TaskOptionBuilder() - 类的构造器 cn.wjybxx.concurrent.TaskOptionBuilder
 
TaskStatus - cn.wjybxx.concurrent中的枚举类
JDK设定的任务状态Future.State并未将【等待中】和【执行中】这两种状态分开, 大多数情况下这种设定并没有影响,但在涉及取消时,将等待中和执行中分开是有利的。
taskType(Object) - 类中的静态方法 cn.wjybxx.concurrent.TaskBuilder
计算任务的类型
TERMINATED - 枚举类 中的枚举常量 cn.wjybxx.concurrent.EventLoopState
终止
terminationFuture() - 类中的方法 cn.wjybxx.concurrent.DefaultFixedEventLoopGroup
 
terminationFuture() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
terminationFuture() - 接口中的方法 cn.wjybxx.concurrent.EventLoopGroup
返回等待线程终止的future。
terminationFuture() - 接口中的方法 cn.wjybxx.concurrent.IExecutorService
返回Future将在Executor终止时进入完成状态。
terminationFuture() - 类中的方法 cn.wjybxx.sequential.DefaultUniExecutor
 
terminationFuture() - 类中的方法 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
test(E) - 接口中的方法 cn.wjybxx.concurrent.WatcherMgr.Watcher
该方法禁止抛出异常,否则可能导致严重错误(事件丢失),可能导致死锁
thenAccept(BiConsumer<? super ICancelToken, Object>, Object) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenAccept(BiConsumer<? super ICancelToken, Object>, Object) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenAccept(BiConsumer<? super ICancelToken, Object>, Object) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenAccept(BiConsumer<? super ICancelToken, Object>, Object) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenAccept(BiConsumer<? super ICancelToken, Object>, Object, int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenAccept(BiConsumer<? super ICancelToken, Object>, Object, int) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenAccept(BiConsumer<? super ICancelToken, Object>, Object, int) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenAccept(BiConsumer<? super ICancelToken, Object>, Object, int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenAccept(BiConsumer<? super IContext, ? super T>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
thenAccept(BiConsumer<? super IContext, ? super T>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenAccept(BiConsumer<? super IContext, ? super T>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenAccept(BiConsumer<? super IContext, ? super T>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenAccept(BiConsumer<? super IContext, ? super T>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
该方法返回一个新的Future,它的结果由当前Future驱动。
thenAccept(BiConsumer<? super IContext, ? super T>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenAccept(BiConsumer<? super IContext, ? super T>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenAccept(BiConsumer<? super IContext, ? super T>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenAccept(BiConsumer<? super IContext, ? super V>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenAccept(BiConsumer<? super IContext, ? super V>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenAccept(Consumer<? super ICancelToken>) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenAccept(Consumer<? super ICancelToken>) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenAccept(Consumer<? super ICancelToken>) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenAccept(Consumer<? super ICancelToken>) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenAccept(Consumer<? super ICancelToken>, int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenAccept(Consumer<? super ICancelToken>, int) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
添加的action将在Context收到取消信号时执行 1.如果已收到取消请求,则给定的action会立即执行。
thenAccept(Consumer<? super ICancelToken>, int) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenAccept(Consumer<? super ICancelToken>, int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenAcceptAsync(Executor, BiConsumer<? super ICancelToken, Object>, Object) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenAcceptAsync(Executor, BiConsumer<? super ICancelToken, Object>, Object) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenAcceptAsync(Executor, BiConsumer<? super ICancelToken, Object>, Object) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenAcceptAsync(Executor, BiConsumer<? super ICancelToken, Object>, Object) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenAcceptAsync(Executor, BiConsumer<? super ICancelToken, Object>, Object, int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenAcceptAsync(Executor, BiConsumer<? super ICancelToken, Object>, Object, int) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenAcceptAsync(Executor, BiConsumer<? super ICancelToken, Object>, Object, int) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenAcceptAsync(Executor, BiConsumer<? super ICancelToken, Object>, Object, int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenAcceptAsync(Executor, BiConsumer<? super IContext, ? super T>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
thenAcceptAsync(Executor, BiConsumer<? super IContext, ? super T>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenAcceptAsync(Executor, BiConsumer<? super IContext, ? super T>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenAcceptAsync(Executor, BiConsumer<? super IContext, ? super T>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenAcceptAsync(Executor, BiConsumer<? super IContext, ? super T>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
thenAcceptAsync(Executor, BiConsumer<? super IContext, ? super T>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenAcceptAsync(Executor, BiConsumer<? super IContext, ? super T>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenAcceptAsync(Executor, BiConsumer<? super IContext, ? super T>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenAcceptAsync(Executor, BiConsumer<? super IContext, ? super V>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenAcceptAsync(Executor, BiConsumer<? super IContext, ? super V>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenAcceptAsync(Executor, Consumer<? super ICancelToken>) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenAcceptAsync(Executor, Consumer<? super ICancelToken>) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenAcceptAsync(Executor, Consumer<? super ICancelToken>) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenAcceptAsync(Executor, Consumer<? super ICancelToken>) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenAcceptAsync(Executor, Consumer<? super ICancelToken>, int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenAcceptAsync(Executor, Consumer<? super ICancelToken>, int) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenAcceptAsync(Executor, Consumer<? super ICancelToken>, int) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenAcceptAsync(Executor, Consumer<? super ICancelToken>, int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenApply(BiFunction<? super IContext, ? super T, ? extends U>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
thenApply(BiFunction<? super IContext, ? super T, ? extends U>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenApply(BiFunction<? super IContext, ? super T, ? extends U>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenApply(BiFunction<? super IContext, ? super T, ? extends U>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenApply(BiFunction<? super IContext, ? super T, ? extends U>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
该方法返回一个新的Future,它的结果由当前Future驱动。
thenApply(BiFunction<? super IContext, ? super T, ? extends U>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenApply(BiFunction<? super IContext, ? super T, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenApply(BiFunction<? super IContext, ? super T, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenApply(BiFunction<? super IContext, ? super V, ? extends U>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenApply(BiFunction<? super IContext, ? super V, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends U>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
thenApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends U>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends U>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends U>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends U>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
thenApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends U>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenApplyAsync(Executor, BiFunction<? super IContext, ? super T, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenApplyAsync(Executor, BiFunction<? super IContext, ? super V, ? extends U>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenApplyAsync(Executor, BiFunction<? super IContext, ? super V, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenCall(Function<? super IContext, ? extends U>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenCall(Function<? super IContext, ? extends U>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
thenCall(Function<? super IContext, ? extends U>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenCall(Function<? super IContext, ? extends U>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenCall(Function<? super IContext, ? extends U>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenCall(Function<? super IContext, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenCall(Function<? super IContext, ? extends U>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
该方法返回一个新的Future,它的结果由当前Future驱动。
thenCall(Function<? super IContext, ? extends U>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenCall(Function<? super IContext, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenCall(Function<? super IContext, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenCallAsync(Executor, Function<? super IContext, ? extends U>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenCallAsync(Executor, Function<? super IContext, ? extends U>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
thenCallAsync(Executor, Function<? super IContext, ? extends U>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenCallAsync(Executor, Function<? super IContext, ? extends U>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenCallAsync(Executor, Function<? super IContext, ? extends U>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenCallAsync(Executor, Function<? super IContext, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenCallAsync(Executor, Function<? super IContext, ? extends U>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
thenCallAsync(Executor, Function<? super IContext, ? extends U>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenCallAsync(Executor, Function<? super IContext, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenCallAsync(Executor, Function<? super IContext, ? extends U>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenNotify(CancelTokenListener) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenNotify(CancelTokenListener) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenNotify(CancelTokenListener) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenNotify(CancelTokenListener) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenNotify(CancelTokenListener, int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenNotify(CancelTokenListener, int) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
添加一个特定类型的监听器 (用于特殊需求时避免额外的闭包 - task经常需要监听取消令牌)
thenNotify(CancelTokenListener, int) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenNotify(CancelTokenListener, int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenNotifyAsync(Executor, CancelTokenListener) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenNotifyAsync(Executor, CancelTokenListener) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenNotifyAsync(Executor, CancelTokenListener) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenNotifyAsync(Executor, CancelTokenListener) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenNotifyAsync(Executor, CancelTokenListener, int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenNotifyAsync(Executor, CancelTokenListener, int) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenNotifyAsync(Executor, CancelTokenListener, int) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenNotifyAsync(Executor, CancelTokenListener, int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenRun(Runnable) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenRun(Runnable) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenRun(Runnable) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenRun(Runnable) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenRun(Runnable, int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenRun(Runnable, int) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenRun(Runnable, int) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenRun(Runnable, int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenRun(Consumer<? super IContext>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenRun(Consumer<? super IContext>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
thenRun(Consumer<? super IContext>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenRun(Consumer<? super IContext>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenRun(Consumer<? super IContext>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenRun(Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenRun(Consumer<? super IContext>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
该方法返回一个新的Future,它的结果由当前Future驱动。
thenRun(Consumer<? super IContext>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenRun(Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenRun(Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenRun(Consumer<Object>, Object) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenRun(Consumer<Object>, Object) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenRun(Consumer<Object>, Object) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenRun(Consumer<Object>, Object) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenRun(Consumer<Object>, Object, int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenRun(Consumer<Object>, Object, int) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenRun(Consumer<Object>, Object, int) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenRun(Consumer<Object>, Object, int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenRunAsync(Executor, Runnable) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenRunAsync(Executor, Runnable) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenRunAsync(Executor, Runnable) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenRunAsync(Executor, Runnable) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenRunAsync(Executor, Runnable, int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenRunAsync(Executor, Runnable, int) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenRunAsync(Executor, Runnable, int) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenRunAsync(Executor, Runnable, int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenRunAsync(Executor, Consumer<? super IContext>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenRunAsync(Executor, Consumer<? super IContext>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
thenRunAsync(Executor, Consumer<? super IContext>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenRunAsync(Executor, Consumer<? super IContext>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenRunAsync(Executor, Consumer<? super IContext>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenRunAsync(Executor, Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
thenRunAsync(Executor, Consumer<? super IContext>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
thenRunAsync(Executor, Consumer<? super IContext>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
thenRunAsync(Executor, Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
thenRunAsync(Executor, Consumer<? super IContext>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
thenRunAsync(Executor, Consumer<Object>, Object) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenRunAsync(Executor, Consumer<Object>, Object) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenRunAsync(Executor, Consumer<Object>, Object) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenRunAsync(Executor, Consumer<Object>, Object) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenRunAsync(Executor, Consumer<Object>, Object, int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenRunAsync(Executor, Consumer<Object>, Object, int) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenRunAsync(Executor, Consumer<Object>, Object, int) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenRunAsync(Executor, Consumer<Object>, Object, int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenTransferTo(ICancelTokenSource) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenTransferTo(ICancelTokenSource) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenTransferTo(ICancelTokenSource) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenTransferTo(ICancelTokenSource) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenTransferTo(ICancelTokenSource, int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenTransferTo(ICancelTokenSource, int) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
该接口用于方便构建子上下文 1.子token会在当前token进入取消状态时被取消 2.该接口本质是一个快捷方法,但允许子类优化
thenTransferTo(ICancelTokenSource, int) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenTransferTo(ICancelTokenSource, int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenTransferToAsync(Executor, ICancelTokenSource) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenTransferToAsync(Executor, ICancelTokenSource) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenTransferToAsync(Executor, ICancelTokenSource) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenTransferToAsync(Executor, ICancelTokenSource) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
thenTransferToAsync(Executor, ICancelTokenSource, int) - 类中的方法 cn.wjybxx.concurrent.CancelTokenSource
 
thenTransferToAsync(Executor, ICancelTokenSource, int) - 接口中的方法 cn.wjybxx.concurrent.ICancelToken
 
thenTransferToAsync(Executor, ICancelTokenSource, int) - 类中的方法 cn.wjybxx.concurrent.ReadonlyCancelToken
 
thenTransferToAsync(Executor, ICancelTokenSource, int) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
 
throwIfInEventLoop(String) - 类中的方法 cn.wjybxx.concurrent.AbstractEventLoop
 
tickTime() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
tickTime() - 类中的方法 cn.wjybxx.sequential.AbstractUniScheduledExecutor
当前线程的时间 1.
tickTime() - 类中的方法 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
TIMEOUT_BEFORE_RUN - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
延时任务:在执行任务前检测超时 1.
TimeoutContext - cn.wjybxx.concurrent中的类
超时管理上下文
TimeoutContext(long, long) - 类的构造器 cn.wjybxx.concurrent.TimeoutContext
 
TimeSharingTask<V> - cn.wjybxx.concurrent中的接口
可分时运行的任务 - 需要长时间运行才能得出结果的任务。
toCompletableFuture() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
toCompletableFuture() - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
该接口用于与依赖CompletableFuture的库进行协作
toEventLoopPromise(EventLoop, ICompletionStage<V>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
EventLoop通知返回的IPromise
toFuture() - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
toFuture() - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
返回一个Future,保持与这个Stage相同的完成结果。
toFuture() - 类中的方法 cn.wjybxx.concurrent.Promise
 
toFuture() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
toJDKFuture(ICompletionStage<V>) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
toJdkState() - 枚举类中的方法 cn.wjybxx.concurrent.TaskStatus
转换为jdk的状态枚举
toScheduledBuilder() - 类中的方法 cn.wjybxx.concurrent.TaskBuilder
 
toString() - 类中的方法 cn.wjybxx.concurrent.DefaultThreadFactory
 
toString() - 类中的方法 cn.wjybxx.concurrent.RingBufferEvent
 
toTask(Runnable, int) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
toTask(Consumer<? super IContext>, IContext, int) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
 
treatExceptionAsNull() - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
如果future失败则返回null
trigger(long) - 类中的方法 cn.wjybxx.concurrent.ScheduledPromiseTask
外部确定性触发,不需要回调的方式重新压入队列
trigger(long) - 类中的方法 cn.wjybxx.sequential.UniScheduledPromiseTask
外部确定性触发,不需要回调的方式重新压入队列
triggerTime(long, TimeUnit, long) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledPromiseTask
计算任务的触发时间
triggerTime(long, TimeUnit, long) - 类中的静态方法 cn.wjybxx.sequential.UniScheduledPromiseTask
计算任务的触发时间
trySetCancelled(int) - 接口中的方法 cn.wjybxx.concurrent.IPromise
将Future置为已取消状态,如果future已进入完成状态,则返回false
trySetCancelled(int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
trySetCancelled(int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
trySetCancelled(IPromise<?>, IContext) - 类中的静态方法 cn.wjybxx.concurrent.PromiseTask
 
trySetCancelled(IPromise<?>, IContext, int) - 类中的静态方法 cn.wjybxx.concurrent.PromiseTask
 
trySetComputing() - 接口中的方法 cn.wjybxx.concurrent.IPromise
尝试将future置为正在计算状态 只有成功将future从pending状态更新为computing状态时返回true
trySetComputing() - 类中的方法 cn.wjybxx.concurrent.Promise
 
trySetComputing() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
trySetComputing2() - 接口中的方法 cn.wjybxx.concurrent.IPromise
尝试将future置为正在计算状态 该接口有更好的返回值,不过一般情况下还是推荐IPromise.trySetComputing()
trySetComputing2() - 类中的方法 cn.wjybxx.concurrent.Promise
 
trySetComputing2() - 类中的方法 cn.wjybxx.sequential.UniPromise
 
trySetException(Throwable) - 接口中的方法 cn.wjybxx.concurrent.IPromise
尝试将future置为失败完成状态,如果future已进入完成状态,则返回false
trySetException(Throwable) - 类中的方法 cn.wjybxx.concurrent.Promise
 
trySetException(Throwable) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
trySetResult(T) - 接口中的方法 cn.wjybxx.concurrent.IPromise
尝试将future置为成功完成状态,如果future已进入完成状态,则返回false
trySetResult(T) - 类中的方法 cn.wjybxx.concurrent.Promise
 
trySetResult(T) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
tryTransferFrom(IFuture<? extends T>) - 接口中的方法 cn.wjybxx.concurrent.IPromise
将目标future的结果传输到当前Promise 如果目标future已完成,且当前promise尚未完成,则尝试传输结果到promise
tryTransferFrom(IFuture<? extends T>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
tryTransferFrom(IFuture<? extends T>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
TYPE_ACTION - 类中的静态变量 cn.wjybxx.concurrent.TaskBuilder
 
TYPE_ACTION_CTX - 类中的静态变量 cn.wjybxx.concurrent.TaskBuilder
 
TYPE_FUNC - 类中的静态变量 cn.wjybxx.concurrent.TaskBuilder
 
TYPE_FUNC_CTX - 类中的静态变量 cn.wjybxx.concurrent.TaskBuilder
 
TYPE_INVALID - 接口中的静态变量 cn.wjybxx.concurrent.IAgentEvent
表示事件无效
TYPE_RUNNABLE - 接口中的静态变量 cn.wjybxx.concurrent.IAgentEvent
表示普通的Runnable
TYPE_TASK - 类中的静态变量 cn.wjybxx.concurrent.TaskBuilder
已过时。
TYPE_TIMESHARING - 类中的静态变量 cn.wjybxx.concurrent.TaskBuilder
 

U

UniCancelTokenSource - cn.wjybxx.sequential中的类
单线程版的取消令牌。
UniCancelTokenSource() - 类的构造器 cn.wjybxx.sequential.UniCancelTokenSource
 
UniCancelTokenSource(int) - 类的构造器 cn.wjybxx.sequential.UniCancelTokenSource
 
UniCancelTokenSource(UniScheduledExecutor) - 类的构造器 cn.wjybxx.sequential.UniCancelTokenSource
 
UniCancelTokenSource(UniScheduledExecutor, int) - 类的构造器 cn.wjybxx.sequential.UniCancelTokenSource
 
UniExecutorService - cn.wjybxx.sequential中的接口
用于在当前线程延迟执行任务的Executor -- IExecutorService
UniFutureCombiner - cn.wjybxx.sequential中的类
单线程化改动: 1.计数变量改为普通变量 2.Promise的默认实例为UniPromise
UniFutureCombiner(Executor) - 类的构造器 cn.wjybxx.sequential.UniFutureCombiner
 
UniFutureUtils - cn.wjybxx.sequential中的类
 
UniFutureUtils() - 类的构造器 cn.wjybxx.sequential.UniFutureUtils
 
UniPromise<T> - cn.wjybxx.sequential中的类
单线程版本的IPromise 1.省去了接口抽象,单线程版本直接使用该类即可 -- 省去抽象可减少开销。
UniPromise() - 类的构造器 cn.wjybxx.sequential.UniPromise
 
UniPromise(Executor) - 类的构造器 cn.wjybxx.sequential.UniPromise
 
UniScheduledExecutor - cn.wjybxx.sequential中的接口
定时任务调度器,时间单位取决于具体的实现,通常是毫秒 -- 也可能是帧数。
UniScheduledPromise<T> - cn.wjybxx.sequential中的类
 
UniScheduledPromise() - 类的构造器 cn.wjybxx.sequential.UniScheduledPromise
 
UniScheduledPromise(Executor) - 类的构造器 cn.wjybxx.sequential.UniScheduledPromise
 
UniScheduledPromiseTask<V> - cn.wjybxx.sequential中的类
定时任务的Task抽象 与ScheduledPromiseTask的几个区别: 1.
unregister(Object) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
删除监听器 通常而言逆向查找更容易匹配:Task的停止顺序通常和Task的启动顺序相反,因此后注册的监听器会先删除。
unregister(Object, boolean) - 类中的方法 cn.wjybxx.sequential.UniCancelTokenSource
删除监听器
UNSTARTED - 枚举类 中的枚举常量 cn.wjybxx.concurrent.EventLoopState
初始状态 -- 已创建,但尚未启动
unwrapCompletionException(Throwable) - 类中的静态方法 cn.wjybxx.concurrent.FutureUtils
CompletableFuture总是使用CompletionException包装异常,我们需要找到原始异常
update() - 类中的方法 cn.wjybxx.concurrent.EmptyAgent
 
update() - 接口中的方法 cn.wjybxx.concurrent.EventLoopAgent
当事件循环等待较长时间或处理完一批事件之后都将调用该方法 注意:该方法的调用时机和频率是不确定的,因此用户应该自行控制内部逻辑频率。
update() - 类中的方法 cn.wjybxx.sequential.DefaultUniExecutor
 
update() - 类中的方法 cn.wjybxx.sequential.DefaultUniScheduledExecutor
 
update() - 接口中的方法 cn.wjybxx.sequential.UniExecutorService
心跳方法 外部需要每一帧调用该方法以执行任务。
update(IContext, IPromise<? super V>) - 接口中的方法 cn.wjybxx.concurrent.TimeSharingTask
单步执行一次。

V

validateInitialDelay(long) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
适用于禁止初始延迟小于0的情况
validatePeriod(long) - 类中的静态方法 cn.wjybxx.concurrent.ScheduledTaskBuilder
 
valueOf(int) - 枚举类中的静态方法 cn.wjybxx.concurrent.EventLoopState
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 cn.wjybxx.concurrent.EventLoopState
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 cn.wjybxx.concurrent.TaskStatus
返回带有指定名称的该类的枚举常量。
values() - 枚举类中的静态方法 cn.wjybxx.concurrent.EventLoopState
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 cn.wjybxx.concurrent.TaskStatus
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同

W

wakeup() - 类中的方法 cn.wjybxx.concurrent.DisruptorEventLoop
 
wakeup() - 接口中的方法 cn.wjybxx.concurrent.EventLoop
唤醒线程 如果当前EventLoop线程陷入了阻塞状态,则将线程从阻塞中唤醒;通常用于通知线程及时处理任务和响应关闭。
wakeup() - 接口中的方法 cn.wjybxx.concurrent.EventLoopAgent
如果当前线程阻塞在中断也无法唤醒的地方,用户需要唤醒线程 该方法是多线程调用的,要小心并发问题
WAKEUP_THREAD - 类中的静态变量 cn.wjybxx.concurrent.TaskOption
唤醒事件循环线程 事件循环线程可能阻塞某些操作上,如果一个任务需要EventLoop及时处理,则可以启用该选项唤醒线程。
watch(WatcherMgr.Watcher<? super E>) - 类中的方法 cn.wjybxx.concurrent.SimpleWatcherMgr
 
watch(WatcherMgr.Watcher<? super E>) - 接口中的方法 cn.wjybxx.concurrent.WatcherMgr
监听队列中的事件,直到某一个事件发生。
WatcherMgr<E> - cn.wjybxx.concurrent中的接口
Watcher管理器
WatcherMgr.Watcher<E> - cn.wjybxx.concurrent中的接口
实现时要小心线程安全问题
whenComplete(TriConsumer<? super IContext, ? super T, ? super Throwable>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
whenComplete(TriConsumer<? super IContext, ? super T, ? super Throwable>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
whenComplete(TriConsumer<? super IContext, ? super T, ? super Throwable>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
whenComplete(TriConsumer<? super IContext, ? super T, ? super Throwable>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
whenComplete(TriConsumer<? super IContext, ? super T, ? super Throwable>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
该方法返回一个新的Future,无论当前Future执行成功还是失败,给定的操作都将执行,且返回的Future始终以相同的结果进入完成状态。
whenComplete(TriConsumer<? super IContext, ? super T, ? super Throwable>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
whenComplete(TriConsumer<? super IContext, ? super T, ? super Throwable>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
whenComplete(TriConsumer<? super IContext, ? super T, ? super Throwable>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
whenComplete(TriConsumer<? super IContext, ? super V, ? super Throwable>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
whenComplete(TriConsumer<? super IContext, ? super V, ? super Throwable>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
whenCompleteAsync(Executor, TriConsumer<? super IContext, ? super T, ? super Throwable>) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
whenCompleteAsync(Executor, TriConsumer<? super IContext, ? super T, ? super Throwable>) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
whenCompleteAsync(Executor, TriConsumer<? super IContext, ? super T, ? super Throwable>) - 类中的方法 cn.wjybxx.concurrent.Promise
 
whenCompleteAsync(Executor, TriConsumer<? super IContext, ? super T, ? super Throwable>) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
whenCompleteAsync(Executor, TriConsumer<? super IContext, ? super T, ? super Throwable>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.ICompletionStage
 
whenCompleteAsync(Executor, TriConsumer<? super IContext, ? super T, ? super Throwable>, IContext, int) - 接口中的方法 cn.wjybxx.concurrent.IFuture
 
whenCompleteAsync(Executor, TriConsumer<? super IContext, ? super T, ? super Throwable>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.Promise
 
whenCompleteAsync(Executor, TriConsumer<? super IContext, ? super T, ? super Throwable>, IContext, int) - 类中的方法 cn.wjybxx.sequential.UniPromise
 
whenCompleteAsync(Executor, TriConsumer<? super IContext, ? super V, ? super Throwable>) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
whenCompleteAsync(Executor, TriConsumer<? super IContext, ? super V, ? super Throwable>, IContext, int) - 类中的方法 cn.wjybxx.concurrent.ForwardFuture
 
with(Object, ICancelToken, T, Object) - 类中的方法 cn.wjybxx.concurrent.Context
 
withBlackboard(T) - 类中的方法 cn.wjybxx.concurrent.Context
 
withBlackboard(T, Object) - 类中的方法 cn.wjybxx.concurrent.Context
 
withState(Object) - 类中的方法 cn.wjybxx.concurrent.Context
 
withState(Object, ICancelToken) - 类中的方法 cn.wjybxx.concurrent.Context
 
wjybxx.commons.concurrent - 模块 wjybxx.commons.concurrent
 

上下文扩展 - 接口 cn.wjybxx.concurrent.IContext中的搜索标记

其它 - 接口 cn.wjybxx.concurrent.ICompletionStage中的搜索标记

单线程化做的变动 - 类 cn.wjybxx.sequential.UniPromise中的搜索标记

外部驱动 - 接口 cn.wjybxx.sequential.UniExecutorService中的搜索标记

如何中断线程 - 接口 cn.wjybxx.concurrent.ICancelToken中的搜索标记

实现说明 - 类 cn.wjybxx.concurrent.CancelTokenSource中的搜索标记
实现说明 - 类 cn.wjybxx.sequential.UniCancelTokenSource中的搜索标记

小心Compose - 接口 cn.wjybxx.concurrent.ICompletionStage中的搜索标记

指定执行阶段 - 接口 cn.wjybxx.sequential.UniExecutorService中的搜索标记

时序 - 接口 cn.wjybxx.concurrent.EventLoop中的搜索标记
时序保证 - 接口 cn.wjybxx.sequential.UniScheduledExecutor中的搜索标记
时序要求 - 接口 cn.wjybxx.sequential.UniExecutorService中的搜索标记
时序约定 - 接口 cn.wjybxx.concurrent.EventLoopGroup中的搜索标记

监听器 - 接口 cn.wjybxx.concurrent.ICancelToken中的搜索标记

线

线程控制 - 接口 cn.wjybxx.concurrent.ICompletionStage中的搜索标记

行为取消 - 接口 cn.wjybxx.concurrent.ICompletionStage中的搜索标记

警告 - 接口 cn.wjybxx.concurrent.EventLoop中的搜索标记

避免死循环 - 接口 cn.wjybxx.sequential.UniScheduledExecutor中的搜索标记

限制单帧任务数 - 接口 cn.wjybxx.sequential.UniExecutorService中的搜索标记

黑板类型 - 类 cn.wjybxx.concurrent.Context中的搜索标记
A B C D E F G H I J L M N O P R S T U V W           线      
常量字段值|所有程序包|所有类和接口|序列化表格