Class StaticServiceInstanceList

java.lang.Object
io.micronaut.discovery.StaticServiceInstanceList
All Implemented Interfaces:
ServiceInstanceList

public class StaticServiceInstanceList extends Object implements ServiceInstanceList
A ServiceInstanceList using a static list of URLs. This class doesn't support health checking.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • StaticServiceInstanceList

      public StaticServiceInstanceList(String id, Collection<URI> loadBalancedURIs)
      Default constructor.
      Parameters:
      id - The id
      loadBalancedURIs - The URIs
    • StaticServiceInstanceList

      public StaticServiceInstanceList(String id, Collection<URI> loadBalancedURIs, @Nullable @Nullable String contextPath)
      Default constructor.
      Parameters:
      id - The id
      loadBalancedURIs - The URIs
      contextPath - The context path
  • Method Details