Package com.alibaba.ttl.spi
Interface TtlWrapper<T>
-
- All Superinterfaces:
TtlEnhanced
- All Known Subinterfaces:
DisableInheritableForkJoinWorkerThreadFactory,DisableInheritableThreadFactory
- All Known Implementing Classes:
TtlCallable,TtlRunnable,TtlTimerTask
public interface TtlWrapper<T> extends TtlEnhanced
Ttl Wrapper interface.Used to mark wrapper types, for example:
- Since:
- 2.11.4
- Author:
- Jerry Lee (oldratlee at gmail dot com)
- See Also:
TtlUnwrap.unwrap(T),TtlCallable,TtlRunnable,TtlExecutors,DisableInheritableThreadFactory,DisableInheritableForkJoinWorkerThreadFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tunwrap()unwrapTtlWrapperto the original/underneath one.
-
-
-
Method Detail
-
unwrap
@NonNull T unwrap()
unwrapTtlWrapperto the original/underneath one.- See Also:
TtlUnwrap.unwrap(Object)
-
-