Package io.servicetalk.router.api
Interface RouteExecutionStrategyFactory<ES>
- Type Parameters:
ES- protocol-specific execution strategy implementation
- All Known Implementing Classes:
DefaultRouteExecutionStrategyFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A factory that creates an execution strategy for different
ids of
RouteExecutionStrategy annotation.-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
get
- Parameters:
id- ofRouteExecutionStrategy- Returns:
RouteExecutionStrategyFactoryimplementation- Throws:
IllegalArgumentException- ifidis unknown and no fallbackRouteExecutionStrategyFactorycould be used
-