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
id
s of
RouteExecutionStrategy
annotation.-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
get
- Parameters:
id
- ofRouteExecutionStrategy
- Returns:
RouteExecutionStrategyFactory
implementation- Throws:
IllegalArgumentException
- ifid
is unknown and no fallbackRouteExecutionStrategyFactory
could be used
-