Interface ManageableService<A extends ServiceInstance,B,C extends TrafficPolicy<A,B>>

Type Parameters:
A - the type of service instance
B - the type of service request
C - the type of traffic policy
All Superinterfaces:
Service<A,B,C>
All Known Implementing Classes:
AbstractService

public interface ManageableService<A extends ServiceInstance,B,C extends TrafficPolicy<A,B>> extends Service<A,B,C>

A manageable service allows an enclosing service to manage its set of service instances.

This is typically used when there is a need to delegate service instance resolution (i.e. load balancing, routing...) to a higher service.

Since:
1.12
Author:
Jeremy Kuhn
  • Method Details

    • getInstances

      List<A> getInstances()

      Returns the service instances.

      Returns:
      a list of service instances