Package org.apache.camel.cloud
Interface ServiceRegistry.Selector
-
- Enclosing interface:
- ServiceRegistry
- 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 static interface ServiceRegistry.Selector
A selector used to pick up a service among a list.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<ServiceRegistry>
select(Collection<ServiceRegistry> services)
Select a specific ServiceRegistry instance among a collection.
-
-
-
Method Detail
-
select
Optional<ServiceRegistry> select(Collection<ServiceRegistry> services)
Select a specific ServiceRegistry instance among a collection.
-
-