Interface TaskDecorator

    • Method Detail

      • 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.
        Parameters:
        runnable - the original Runnable
        Returns:
        the decorated Runnable