接口 TaskDecorator

    • 方法详细资料

      • decorate

        Runnable decorate​(Runnable runnable)
        Decorate the given Runnable, returning a potentially wrapped Runnable for actual execution, internally delegating to the original Runnable.run() implementation.
        参数:
        runnable - the original Runnable
        返回:
        the decorated Runnable