Interface InstanceProvider<T>
- All Known Subinterfaces:
ServiceCache<T>
- All Known Implementing Classes:
ServiceCacheImpl
public interface InstanceProvider<T>
Provides a set of available instances for a service so that a strategy can pick one of them
-
Method Summary
Modifier and TypeMethodDescriptionReturn the current available set of instances
-
Method Details
-
getInstances
Return the current available set of instances- Returns:
- instances
- Throws:
Exception
- any errors
-