Package io.servicetalk.router.api
Annotation Interface RouteExecutionStrategy
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Inherited
public @interface RouteExecutionStrategy
Indicates that a resource class or method needs a specific execution strategy.
To disable offloading of the user code to a different thread pool use NoOffloadsRouteExecutionStrategy
.
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionThe execution strategy ID specified for thisRouteExecutionStrategy
.
-
Element Details
-
id
String idThe execution strategy ID specified for thisRouteExecutionStrategy
.- Returns:
- the execution strategy ID as
String
-