Module io.inverno.mod.discovery
Package io.inverno.mod.discovery
Interface ManageableService<A extends ServiceInstance,B,C extends TrafficPolicy<A,B>>
- Type Parameters:
A
- the type of service instanceB
- the type of service requestC
- 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 Summary
Methods inherited from interface io.inverno.mod.discovery.Service
getID, getInstance, getLastRefreshed, getTrafficPolicy, refresh, refresh, shutdown, shutdownGracefully
-
Method Details
-
getInstances
Returns the service instances.
- Returns:
- a list of service instances
-