Package io.servicetalk.router.api
Annotation Type 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
Required Elements Modifier and Type Required Element Description java.lang.String
id
The execution strategy ID specified for thisRouteExecutionStrategy
.
-
-
-
Element Detail
-
id
java.lang.String id
The execution strategy ID specified for thisRouteExecutionStrategy
.- Returns:
- the execution strategy ID as
String
-
-