A B C E G H I P R S T U
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
TransmittableThreadLocal
values in current thread. - 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.
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, wrapper input
Runnable
toTtlRunnable
. - get(Runnable, boolean) - Static method in class com.alibaba.ttl.TtlRunnable
-
Factory method, wrapper input
Runnable
toTtlRunnable
. - get(Runnable, boolean, boolean) - Static method in class com.alibaba.ttl.TtlRunnable
-
Factory method, wrapper input
Runnable
toTtlRunnable
. - get(Callable<T>) - Static method in class com.alibaba.ttl.TtlCallable
-
Factory method, wrapper input
Callable
toTtlCallable
. - get(Callable<T>, boolean) - Static method in class com.alibaba.ttl.TtlCallable
-
Factory method, wrapper input
Callable
toTtlCallable
. - get(Callable<T>, boolean, boolean) - Static method in class com.alibaba.ttl.TtlCallable
-
Factory method, wrapper input
Callable
toTtlCallable
. - get(TimerTask) - Static method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.Factory method, wrapper input
Runnable
toTtlTimerTask
. - get(TimerTask, boolean) - Static method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.Factory method, wrapper input
Runnable
toTtlTimerTask
. - get(TimerTask, boolean, boolean) - Static method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.Factory method, wrapper input
Runnable
toTtlTimerTask
. - getCallable() - Method in class com.alibaba.ttl.TtlCallable
- getRawResult() - Method in class com.alibaba.ttl.TtlRecursiveAction
-
Always returns
null
. - 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
-
wrapper input
Runnable
Collection toTtlRunnable
Collection. - gets(Collection<? extends Runnable>, boolean) - Static method in class com.alibaba.ttl.TtlRunnable
-
wrapper input
Runnable
Collection toTtlRunnable
Collection. - gets(Collection<? extends Runnable>, boolean, boolean) - Static method in class com.alibaba.ttl.TtlRunnable
-
wrapper input
Runnable
Collection toTtlRunnable
Collection. - gets(Collection<? extends Callable<T>>) - Static method in class com.alibaba.ttl.TtlCallable
-
wrapper input
Callable
Collection toTtlCallable
Collection. - gets(Collection<? extends Callable<T>>, boolean) - Static method in class com.alibaba.ttl.TtlCallable
-
wrapper input
Callable
Collection toTtlCallable
Collection. - gets(Collection<? extends Callable<T>>, boolean, boolean) - Static method in class com.alibaba.ttl.TtlCallable
-
wrapper input
Callable
Collection toTtlCallable
Collection. - getTimerTask() - Method in class com.alibaba.ttl.TtlTimerTask
-
Deprecated.
- getTtlExecutor(Executor) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
TransmittableThreadLocal
Wrapper ofExecutor
, transmit theTransmittableThreadLocal
from the task submit time ofRunnable
to the execution time ofRunnable
. - getTtlExecutorService(ExecutorService) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
TransmittableThreadLocal
Wrapper ofExecutorService
, transmit theTransmittableThreadLocal
from the task submit time ofRunnable
orCallable
to the execution time ofRunnable
orCallable
. - getTtlScheduledExecutorService(ScheduledExecutorService) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
TransmittableThreadLocal
Wrapper ofScheduledExecutorService
, transmit theTransmittableThreadLocal
from the task submit time ofRunnable
orCallable
to the execution time ofRunnable
orCallable
.
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
- 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
TransmittableThreadLocal
values fromTransmittableThreadLocal.Transmitter.capture()
, and return the backupTransmittableThreadLocal
values in current thread before replay. - restore(Object) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
-
Restore the backup
TransmittableThreadLocal
values fromTransmittableThreadLocal.Transmitter.replay(Object)
. - 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. - 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.
S
- set(T) - Method in class com.alibaba.ttl.TransmittableThreadLocal
- setRawResult(Void) - Method in class com.alibaba.ttl.TtlRecursiveAction
-
Requires null completion value.
- 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
-
TransmittableThreadLocal
can 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.Transmitter
transmit allTransmittableThreadLocal
values of current thread to other thread by static methodTransmittableThreadLocal.Transmitter.capture()
=>TransmittableThreadLocal.Transmitter.replay(Object)
=>TransmittableThreadLocal.Transmitter.restore(Object)
(akaCRR
operation). - TtlAgent - Class in com.alibaba.ttl.threadpool.agent
-
TTL Java Agent.
- TtlCallable<V> - Class in com.alibaba.ttl
-
TtlCallable
decorateCallable
, so as to getTransmittableThreadLocal
and transmit it to the time ofCallable
execution, needed when useCallable
to thread pool. - TtlExecutors - Class in com.alibaba.ttl.threadpool
-
Factory Utils for getting TTL wrapper of jdk executors.
- TtlRecursiveAction - Class in com.alibaba.ttl
-
A recursive resultless
ForkJoinTask
enhanced byTransmittableThreadLocal
. - TtlRecursiveAction() - Constructor for class com.alibaba.ttl.TtlRecursiveAction
- TtlRecursiveTask<V> - Class in com.alibaba.ttl
-
A recursive result-bearing
ForkJoinTask
enhanced byTransmittableThreadLocal
. - TtlRecursiveTask() - Constructor for class com.alibaba.ttl.TtlRecursiveTask
- TtlRunnable - Class in com.alibaba.ttl
-
TtlRunnable
decorateRunnable
, so as to getTransmittableThreadLocal
and transmit it to the time ofRunnable
execution, needed when useRunnable
to thread pool. - TtlTimerTask - Class in com.alibaba.ttl
-
Deprecated.
- TtlTransformer - Class in com.alibaba.ttl.threadpool.agent
-
TTL
ClassFileTransformer
of Java Agent
U
- unwrap(T) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
-
Unwrap TTL wrapper executor to the original/underneath one.