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.
@FunctionalInterface public interface RouteExecutionStrategyFactory<ES>
A factory that creates an execution strategy for differentid
s ofRouteExecutionStrategy
annotation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ES
get(java.lang.String id)
-
-
-
Method Detail
-
get
ES get(java.lang.String id)
- Parameters:
id
- ofRouteExecutionStrategy
- Returns:
RouteExecutionStrategyFactory
implementation- Throws:
java.lang.IllegalArgumentException
- ifid
is unknown and no fallbackRouteExecutionStrategyFactory
could be used
-
-