Class TtlWrappers


  • public final class TtlWrappers
    extends Object
    Util methods for TTL Wrapper: wrap common Functional Interface.

    Note:

    • all methods is null-safe, when input parameter is null, return null.
    • all wrap method skip wrap (aka. just return input parameter), when input parameter is already wrapped.
    Since:
    2.11.4
    Author:
    Jerry Lee (oldratlee at gmail dot com), huangfei1101 (fei.hf at alibaba-inc dot com)
    See Also:
    TtlRunnable, TtlCallable, TtlUnwrap, TtlWrapper