@FunctionalInterface public interface TaskDecorator
Runnable
about to be executed.
The primary use case is to set some execution context around the task's invocation, or to provide some monitoring/statistics for task execution.
| Modifier and Type | Method and Description |
|---|---|
Runnable |
decorate(Runnable runnable)
Decorate the given
Runnable. |
Copyright © 2022. All rights reserved.