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 Detail

      • getInstances

        java.util.List<ServiceInstance<T>> getInstances()
                                                 throws java.lang.Exception
        Return the current available set of instances
        Returns:
        instances
        Throws:
        java.lang.Exception - any errors