A B C D E G H I P R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- afterExecute() - Method in class com.alibaba.ttl.TransmittableThreadLocal
-
Callback method after task object(
TtlRunnable/TtlCallable) execute.
B
- beforeExecute() - Method in class com.alibaba.ttl.TransmittableThreadLocal
-
Callback method before task object(
TtlRunnable/TtlCallable) execute.
C
- call() - Method in class com.alibaba.ttl.TtlCallable
-
wrap method
Callable.call(). - cancel() - Method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.
- capture() - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
-
Capture all
TransmittableThreadLocalvalues in current thread. - clear() - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
-
Clear all
TransmittableThreadLocalvalues in current thread, and return the backupTransmittableThreadLocalvalues in current thread before clear. - com.alibaba.ttl - package com.alibaba.ttl
-
TTL API.
- com.alibaba.ttl.threadpool - package com.alibaba.ttl.threadpool
-
Thread pool decoration utils.
- com.alibaba.ttl.threadpool.agent - package com.alibaba.ttl.threadpool.agent
-
TTL Agent.
- compute() - Method in class com.alibaba.ttl.TtlRecursiveAction
-
The main computation performed by this task.
- compute() - Method in class com.alibaba.ttl.TtlRecursiveTask
-
The main computation performed by this task.
- copy(T) - Method in class com.alibaba.ttl.TransmittableThreadLocal
-
Computes the value for this transmittable thread-local variable as a function of the source thread's value at the time the task Object is created.
D
- DisableInheritableForkJoinWorkerThreadFactory - Interface in com.alibaba.ttl.threadpool
-
Disable inheritable
ForkJoinPool.ForkJoinWorkerThreadFactory. - DisableInheritableThreadFactory - Interface in com.alibaba.ttl.threadpool
-
Disable inheritable
ThreadFactory.
E
- equals(Object) - Method in class com.alibaba.ttl.TtlCallable
- equals(Object) - Method in class com.alibaba.ttl.TtlRunnable
- equals(Object) - Method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.
- exec() - Method in class com.alibaba.ttl.TtlRecursiveAction
-
Implements execution conventions for RecursiveActions.
- exec() - Method in class com.alibaba.ttl.TtlRecursiveTask
-
Implements execution conventions for RecursiveTask.
G
- get() - Method in class com.alibaba.ttl.TransmittableThreadLocal
- get(Runnable) - Static method in class com.alibaba.ttl.TtlRunnable
-
Factory method, wrap input
RunnabletoTtlRunnable. - get(Runnable, boolean) - Static method in class com.alibaba.ttl.TtlRunnable
-
Factory method, wrap input
RunnabletoTtlRunnable. - get(Runnable, boolean, boolean) - Static method in class com.alibaba.ttl.TtlRunnable
-
Factory method, wrap input
RunnabletoTtlRunnable. - get(Callable<T>) - Static method in class com.alibaba.ttl.TtlCallable
-
Factory method, wrap input
CallabletoTtlCallable. - get(Callable<T>, boolean) - Static method in class com.alibaba.ttl.TtlCallable
-
Factory method, wrap input
CallabletoTtlCallable. - get(Callable<T>, boolean, boolean) - Static method in class com.alibaba.ttl.TtlCallable
-
Factory method, wrap input
CallabletoTtlCallable. - get(TimerTask) - Static method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.Factory method, wrap input
TimerTasktoTtlTimerTask. - get(TimerTask, boolean) - Static method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.Factory method, wrap input
TimerTasktoTtlTimerTask. - get(TimerTask, boolean, boolean) - Static method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.Factory method, wrap input
TimerTasktoTtlTimerTask. - getCallable() - Method in class com.alibaba.ttl.TtlCallable
- getDefaultDisableInheritableForkJoinWorkerThreadFactory() - Static method in class com.alibaba.ttl.threadpool.TtlForkJoinPoolHelper
-
Wrapper of
ForkJoinPool.defaultForkJoinWorkerThreadFactory, disable inheritable. - getDefaultDisableInheritableThreadFactory() - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
Wrapper of
Executors.defaultThreadFactory(), disable inheritable. - getDisableInheritableForkJoinWorkerThreadFactory(ForkJoinPool.ForkJoinWorkerThreadFactory) - Static method in class com.alibaba.ttl.threadpool.TtlForkJoinPoolHelper
-
Wrapper of
ForkJoinPool.ForkJoinWorkerThreadFactory, disable inheritable. - getDisableInheritableThreadFactory(ThreadFactory) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
Wrapper of
ThreadFactory, disable inheritable. - getRawResult() - Method in class com.alibaba.ttl.TtlRecursiveAction
- getRawResult() - Method in class com.alibaba.ttl.TtlRecursiveTask
- getRunnable() - Method in class com.alibaba.ttl.TtlRunnable
-
return original/unwrapped
Runnable. - gets(Collection<? extends Runnable>) - Static method in class com.alibaba.ttl.TtlRunnable
-
wrap input
RunnableCollection toTtlRunnableCollection. - gets(Collection<? extends Runnable>, boolean) - Static method in class com.alibaba.ttl.TtlRunnable
-
wrap input
RunnableCollection toTtlRunnableCollection. - gets(Collection<? extends Runnable>, boolean, boolean) - Static method in class com.alibaba.ttl.TtlRunnable
-
wrap input
RunnableCollection toTtlRunnableCollection. - gets(Collection<? extends Callable<T>>) - Static method in class com.alibaba.ttl.TtlCallable
-
wrap input
CallableCollection toTtlCallableCollection. - gets(Collection<? extends Callable<T>>, boolean) - Static method in class com.alibaba.ttl.TtlCallable
-
wrap input
CallableCollection toTtlCallableCollection. - gets(Collection<? extends Callable<T>>, boolean, boolean) - Static method in class com.alibaba.ttl.TtlCallable
-
wrap input
CallableCollection toTtlCallableCollection. - getTimerTask() - Method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.
- getTtlExecutor(Executor) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
TransmittableThreadLocalWrapper ofExecutor, transmit theTransmittableThreadLocalfrom the task submit time ofRunnableto the execution time ofRunnable. - getTtlExecutorService(ExecutorService) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
TransmittableThreadLocalWrapper ofExecutorService, transmit theTransmittableThreadLocalfrom the task submit time ofRunnableorCallableto the execution time ofRunnableorCallable. - getTtlScheduledExecutorService(ScheduledExecutorService) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
TransmittableThreadLocalWrapper ofScheduledExecutorService, transmit theTransmittableThreadLocalfrom the task submit time ofRunnableorCallableto the execution time ofRunnableorCallable.
H
- hashCode() - Method in class com.alibaba.ttl.TtlCallable
- hashCode() - Method in class com.alibaba.ttl.TtlRunnable
- hashCode() - Method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.
I
- isDisableInheritableForkJoinWorkerThreadFactory(ForkJoinPool.ForkJoinWorkerThreadFactory) - Static method in class com.alibaba.ttl.threadpool.TtlForkJoinPoolHelper
-
check the
ForkJoinPool.ForkJoinWorkerThreadFactoryisDisableInheritableForkJoinWorkerThreadFactoryor not. - isDisableInheritableForThreadPool() - Static method in class com.alibaba.ttl.threadpool.agent.TtlAgent
-
Whether disable inheritable for thread pool is enhanced by ttl agent, check
TtlAgent.isTtlAgentLoaded()first. - isDisableInheritableThreadFactory(ThreadFactory) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
check the
ThreadFactoryisDisableInheritableThreadFactoryor not. - isEnableTimerTask() - Static method in class com.alibaba.ttl.threadpool.agent.TtlAgent
-
Whether timer task is enhanced by ttl agent, check
TtlAgent.isTtlAgentLoaded()first. - isTtlAgentLoaded() - Static method in class com.alibaba.ttl.threadpool.agent.TtlAgent
-
Whether TTL agent is loaded.
- isTtlWrapper(T) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
check the executor is TTL wrapper executor or not.
P
- premain(String, Instrumentation) - Static method in class com.alibaba.ttl.threadpool.agent.TtlAgent
-
Entrance method of TTL Java Agent.
R
- remove() - Method in class com.alibaba.ttl.TransmittableThreadLocal
- replay(Object) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
-
Replay the captured
TransmittableThreadLocalvalues fromTransmittableThreadLocal.Transmitter.capture(), and return the backupTransmittableThreadLocalvalues in current thread before replay. - restore(Object) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
-
Restore the backup
TransmittableThreadLocalvalues fromTransmittableThreadLocal.Transmitter.replay(Object)/TransmittableThreadLocal.Transmitter.clear(). - run() - Method in class com.alibaba.ttl.TtlRunnable
-
wrap method
Runnable.run(). - run() - Method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.wrap method
TimerTask.run(). - runCallableWithCaptured(Object, Callable<R>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
-
Util method for simplifying
TransmittableThreadLocal.Transmitter.replay(Object)andTransmittableThreadLocal.Transmitter.restore(Object)operation. - runCallableWithClear(Callable<R>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
-
Util method for simplifying
TransmittableThreadLocal.Transmitter.clear()andTransmittableThreadLocal.Transmitter.restore(Object)operation. - runSupplierWithCaptured(Object, Supplier<R>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
-
Util method for simplifying
TransmittableThreadLocal.Transmitter.replay(Object)andTransmittableThreadLocal.Transmitter.restore(Object)operation. - runSupplierWithClear(Supplier<R>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
-
Util method for simplifying
TransmittableThreadLocal.Transmitter.clear()andTransmittableThreadLocal.Transmitter.restore(Object)operation.
S
- set(T) - Method in class com.alibaba.ttl.TransmittableThreadLocal
- setRawResult(Void) - Method in class com.alibaba.ttl.TtlRecursiveAction
- setRawResult(V) - Method in class com.alibaba.ttl.TtlRecursiveTask
T
- toString() - Method in class com.alibaba.ttl.TtlCallable
- toString() - Method in class com.alibaba.ttl.TtlRunnable
- transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class com.alibaba.ttl.threadpool.agent.TtlTransformer
- TransmittableThreadLocal<T> - Class in com.alibaba.ttl
-
TransmittableThreadLocalcan transmit value from the thread of submitting task to the thread of executing task. - TransmittableThreadLocal() - Constructor for class com.alibaba.ttl.TransmittableThreadLocal
- TransmittableThreadLocal.Transmitter - Class in com.alibaba.ttl
-
TransmittableThreadLocal.Transmittertransmit allTransmittableThreadLocalvalues of current thread to other thread by static methodsTransmittableThreadLocal.Transmitter.capture()=>TransmittableThreadLocal.Transmitter.replay(Object)=>TransmittableThreadLocal.Transmitter.restore(Object)(akaCRRoperation). - TtlAgent - Class in com.alibaba.ttl.threadpool.agent
-
TTL Java Agent.
- TtlCallable<V> - Class in com.alibaba.ttl
-
TtlCallabledecorateCallable, so as to getTransmittableThreadLocaland transmit it to the time ofCallableexecution, needed when useCallableto thread pool. - TtlEnhanced - Interface in com.alibaba.ttl
-
a Ttl marker/tag interface, for ttl enhanced class, for example
TTL wrapper. - TtlExecutors - Class in com.alibaba.ttl.threadpool
-
Factory Utils for getting TTL wrapper of jdk executors.
- TtlForkJoinPoolHelper - Class in com.alibaba.ttl.threadpool
-
Factory Utils for getting TTL wrapper of
ForkJoinPool.ForkJoinWorkerThreadFactory. - TtlRecursiveAction - Class in com.alibaba.ttl
-
A recursive resultless
ForkJoinTaskenhanced byTransmittableThreadLocal. - TtlRecursiveAction() - Constructor for class com.alibaba.ttl.TtlRecursiveAction
- TtlRecursiveTask<V> - Class in com.alibaba.ttl
-
A recursive result-bearing
ForkJoinTaskenhanced byTransmittableThreadLocal. - TtlRecursiveTask() - Constructor for class com.alibaba.ttl.TtlRecursiveTask
- TtlRunnable - Class in com.alibaba.ttl
-
TtlRunnabledecorateRunnable, so as to getTransmittableThreadLocaland transmit it to the time ofRunnableexecution, needed when useRunnableto thread pool. - TtlTimerTask - Class in com.alibaba.ttl
-
Deprecated.
- TtlTransformer - Class in com.alibaba.ttl.threadpool.agent
-
TTL
ClassFileTransformerof Java Agent
U
- unwrap() - Method in interface com.alibaba.ttl.threadpool.DisableInheritableForkJoinWorkerThreadFactory
-
Unwrap
DisableInheritableThreadFactoryto the original/underneath one. - unwrap() - Method in interface com.alibaba.ttl.threadpool.DisableInheritableThreadFactory
-
Unwrap
DisableInheritableThreadFactoryto the original/underneath one. - unwrap(Runnable) - Static method in class com.alibaba.ttl.TtlRunnable
-
Unwrap
TtlRunnableto the original/underneath one. - unwrap(Callable<T>) - Static method in class com.alibaba.ttl.TtlCallable
-
Unwrap
TtlCallableto the original/underneath one. - unwrap(ForkJoinPool.ForkJoinWorkerThreadFactory) - Static method in class com.alibaba.ttl.threadpool.TtlForkJoinPoolHelper
-
Unwrap
DisableInheritableForkJoinWorkerThreadFactoryto the original/underneath one. - unwrap(ThreadFactory) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
Unwrap
DisableInheritableThreadFactoryto the original/underneath one. - unwrap(TimerTask) - Static method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.Unwrap
TtlTimerTaskto the original/underneath one. - unwrap(T) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
Unwrap TTL wrapper executor to the original/underneath one.
- unwraps(Collection<? extends Runnable>) - Static method in class com.alibaba.ttl.TtlRunnable
-
Unwrap
TtlRunnableto the original/underneath one for collection. - unwraps(Collection<? extends Callable<T>>) - Static method in class com.alibaba.ttl.TtlCallable
-
Unwrap
TtlCallableto the original/underneath one. - unwraps(Collection<? extends TimerTask>) - Static method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.Unwrap
TtlTimerTaskto the original/underneath one.
All Classes All Packages