Package io.smallrye.stork.api
-
Interface Summary Interface Description LoadBalancer Works with a single service name.MetadataKey Interface representing metadata key.ServiceDiscovery Interface to retrieve the list of all available service instances for a given service.ServiceInstance Represents an instance of service.ServiceRegistrar<MetadataKeyType extends Enum<MetadataKeyType> & MetadataKey> StorkServiceRegistry The central API of Stork -
Class Summary Class Description Metadata<T extends Enum<T> & MetadataKey> Service Instance metadata.Service Represents a Service.ServiceDefinition Define a service that will be managed by Stork. -
Enum Summary Enum Description Metadata.DefaultMetadataKey The default metadata key.Metadata.NoMetadataKey -
Exception Summary Exception Description NoAcceptableServiceInstanceFoundException Thrown byLoadBalancerwhen all available services are not acceptable for some, arbitrary, reasonNoServiceInstanceFoundException Thrown by aLoadBalancerwhen it doesn't have service instances to choose from or all available services are not valid to select, e.g.NoSuchServiceDefinitionException Exception thrown when Stork does not have aServiceassociated with a given name.NoSuchServiceRegistrarException Exception thrown when Stork does not have aServiceRegistrarassociated with a given name.