B C D E G I L M N O P R S T V W 
All Classes All Packages

B

build() - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig.Builder
 
Builder() - Constructor for class io.smallrye.stork.spi.config.SimpleServiceConfig.Builder
 

C

CallStatisticsCollector - Interface in io.smallrye.stork.spi
If you use ServiceInstanceWithStatGathering, use an implementation of this class interface for actually collecting information about calls made
ConfigProvider - Interface in io.smallrye.stork.spi.config
Configuration provider for Service Discovery and Load Balancer
Constants - Class in io.smallrye.stork.api.config
Constants for the main API classes
Constants() - Constructor for class io.smallrye.stork.api.config.Constants
 
createLoadBalancer(LoadBalancerConfig, ServiceDiscovery) - Method in interface io.smallrye.stork.spi.internal.LoadBalancerLoader
 
createLoadBalancer(T, ServiceDiscovery) - Method in interface io.smallrye.stork.spi.LoadBalancerProvider
 
createServiceDiscovery(ServiceDiscoveryConfig, String, ServiceConfig, StorkInfrastructure) - Method in interface io.smallrye.stork.spi.internal.ServiceDiscoveryLoader
 
createServiceDiscovery(T, String, ServiceConfig, StorkInfrastructure) - Method in interface io.smallrye.stork.spi.ServiceDiscoveryProvider
 

D

DEFAULT_VALUE - Static variable in class io.smallrye.stork.api.config.Constants
Marker value for the default value, used in main API module annotations
defaultValue() - Method in annotation type io.smallrye.stork.api.config.LoadBalancerAttribute
Default value for the attribute.
defaultValue() - Method in annotation type io.smallrye.stork.api.config.ServiceDiscoveryAttribute
Default value for the attribute.
description() - Method in annotation type io.smallrye.stork.api.config.LoadBalancerAttribute
Description of the attribute.
description() - Method in annotation type io.smallrye.stork.api.config.ServiceDiscoveryAttribute
Description of the attribute.

E

ElementWithType - Interface in io.smallrye.stork.spi
 
empty() - Static method in class io.smallrye.stork.api.Metadata
Returns an empty set of metadata.

G

gatherStatistics() - Method in interface io.smallrye.stork.api.ServiceInstance
 
GENERIC_METADATA_KEY - io.smallrye.stork.api.Metadata.DefaultMetadataKey
 
get(Class<T>, Supplier<T>) - Method in interface io.smallrye.stork.spi.StorkInfrastructure
Get an instance of a "utility" class
getConfigs() - Method in interface io.smallrye.stork.spi.config.ConfigProvider
Get a list of service configurations, each wrapping a configuration for both ServiceDiscovery and LoadBalancer
getHost() - Method in interface io.smallrye.stork.api.ServiceInstance
 
getId() - Method in interface io.smallrye.stork.api.ServiceInstance
 
getLabels() - Method in interface io.smallrye.stork.api.ServiceInstance
 
getLoadBalancer() - Method in class io.smallrye.stork.api.Service
Get the underlying load balancer instance.
getMetadata() - Method in class io.smallrye.stork.api.Metadata
 
getMetadata() - Method in interface io.smallrye.stork.api.ServiceInstance
 
getName() - Method in enum io.smallrye.stork.api.Metadata.DefaultMetadataKey
 
getName() - Method in interface io.smallrye.stork.api.MetadataKey
 
getPort() - Method in interface io.smallrye.stork.api.ServiceInstance
 
getServiceDiscovery() - Method in class io.smallrye.stork.api.Service
Get the underlying service discovery
getServiceInstances() - Method in class io.smallrye.stork.api.Service
Provide a collection of ServiceInstances
getServiceInstances() - Method in interface io.smallrye.stork.api.ServiceDiscovery
Retrieves the service instances.

I

initialize(Map<String, Service>) - Method in interface io.smallrye.stork.api.ServiceDiscovery
Optional initialization.
io.smallrye.stork.api - package io.smallrye.stork.api
 
io.smallrye.stork.api.config - package io.smallrye.stork.api.config
 
io.smallrye.stork.spi - package io.smallrye.stork.spi
 
io.smallrye.stork.spi.config - package io.smallrye.stork.spi.config
 
io.smallrye.stork.spi.internal - package io.smallrye.stork.spi.internal
 
isSecure() - Method in class io.smallrye.stork.api.Service
 
isSecure() - Method in interface io.smallrye.stork.api.ServiceInstance
 

L

loadBalancer() - Method in interface io.smallrye.stork.api.config.ServiceConfig
LoadBalancer configuration or null if the service is meant only to only be mapped to a list of services
loadBalancer() - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig
 
LoadBalancer - Interface in io.smallrye.stork.api
Works with a single service name.
LoadBalancerAttribute - Annotation Type in io.smallrye.stork.api.config
Defines an attribute for a load balancer.
LoadBalancerAttributes - Annotation Type in io.smallrye.stork.api.config
 
LoadBalancerConfig - Interface in io.smallrye.stork.api.config
Load balancer configuration.
LoadBalancerLoader - Interface in io.smallrye.stork.spi.internal
Used by stork internals to generate service loader for LoadBalancerProvider
LoadBalancerProvider<T> - Interface in io.smallrye.stork.spi
 
LoadBalancerType - Annotation Type in io.smallrye.stork.api.config
The type of the load balancer.

M

Metadata<T extends Enum<T>> - Class in io.smallrye.stork.api
Service Instance metadata.
Metadata.DefaultMetadataKey - Enum in io.smallrye.stork.api
 
MetadataKey - Interface in io.smallrye.stork.api
 

N

name() - Method in annotation type io.smallrye.stork.api.config.LoadBalancerAttribute
Attribute name as used in the configuration.
name() - Method in annotation type io.smallrye.stork.api.config.ServiceDiscoveryAttribute
Attribute name as used in the configuration.
NoAcceptableServiceInstanceFoundException - Exception in io.smallrye.stork.api
Thrown by LoadBalancer when all available services are not acceptable for some, arbitrary, reason
NoAcceptableServiceInstanceFoundException(String) - Constructor for exception io.smallrye.stork.api.NoAcceptableServiceInstanceFoundException
 
NoAcceptableServiceInstanceFoundException(String, Throwable) - Constructor for exception io.smallrye.stork.api.NoAcceptableServiceInstanceFoundException
 
NoServiceInstanceFoundException - Exception in io.smallrye.stork.api
Thrown by a LoadBalancer when it doesn't have service instances to choose from or all available services are not valid to select, e.g.
NoServiceInstanceFoundException(String) - Constructor for exception io.smallrye.stork.api.NoServiceInstanceFoundException
 
NoServiceInstanceFoundException(String, Throwable) - Constructor for exception io.smallrye.stork.api.NoServiceInstanceFoundException
 

O

of(Class<?>) - Static method in class io.smallrye.stork.api.Metadata
Returns an instance of Metadata containing an empty set of values.
of(Class<?>, Map<?, Object>) - Static method in class io.smallrye.stork.api.Metadata
Returns an instance of Metadata containing metadata values.

P

parameters() - Method in interface io.smallrye.stork.api.config.LoadBalancerConfig
Load Balancer parameters.
parameters() - Method in interface io.smallrye.stork.api.config.ServiceDiscoveryConfig
ServiceDiscovery parameters.
parameters() - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig.SimpleLoadBalancerConfig
 
parameters() - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig.SimpleServiceDiscoveryConfig
 
priority() - Method in interface io.smallrye.stork.spi.config.ConfigProvider
Priority of the configuration provider.

R

recordResult(long, Throwable) - Method in interface io.smallrye.stork.api.ServiceInstance
When gatherStatistics is enabled, reports the completion of an operation using this service instance.
required() - Method in annotation type io.smallrye.stork.api.config.LoadBalancerAttribute
Whether the attribute is mandatory or optional
required() - Method in annotation type io.smallrye.stork.api.config.ServiceDiscoveryAttribute
Whether the attribute is mandatory or optional

S

secure() - Method in interface io.smallrye.stork.api.config.ServiceConfig
Whether the communication should use a secure connection (e.g.
secure() - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig
 
selectServiceInstance() - Method in class io.smallrye.stork.api.Service
Selects a service instance.
selectServiceInstance(Collection<ServiceInstance>) - Method in interface io.smallrye.stork.api.LoadBalancer
Select a single ServiceInstance from the given list.
Service - Class in io.smallrye.stork.api
Represents a Service.
Service(String, Optional<LoadBalancer>, ServiceDiscovery, boolean) - Constructor for class io.smallrye.stork.api.Service
 
ServiceConfig - Interface in io.smallrye.stork.api.config
Service configuration, wraps both (optional) LoadBalancer configuration and (required) ServiceDiscovery configuration for a single service
serviceDiscovery() - Method in interface io.smallrye.stork.api.config.ServiceConfig
ServiceDiscovery configuration for the service
serviceDiscovery() - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig
 
ServiceDiscovery - Interface in io.smallrye.stork.api
Interface to retrieve the list of all available service instances for a given service.
ServiceDiscoveryAttribute - Annotation Type in io.smallrye.stork.api.config
Defines an attribute for a service discovery.
ServiceDiscoveryAttributes - Annotation Type in io.smallrye.stork.api.config
 
ServiceDiscoveryConfig - Interface in io.smallrye.stork.api.config
Service Discovery configuration.
ServiceDiscoveryLoader - Interface in io.smallrye.stork.spi.internal
Used by stork internals to generate service loader for LoadBalancerProvider
ServiceDiscoveryProvider<T> - Interface in io.smallrye.stork.spi
 
ServiceDiscoveryType - Annotation Type in io.smallrye.stork.api.config
The type of the service discovery.
ServiceInstance - Interface in io.smallrye.stork.api
Represents an instance of service.
serviceName() - Method in interface io.smallrye.stork.api.config.ServiceConfig
 
serviceName() - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig
 
setLoadBalancer(LoadBalancerConfig) - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig.Builder
 
setSecure(boolean) - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig.Builder
 
setServiceDiscovery(ServiceDiscoveryConfig) - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig.Builder
 
setServiceName(String) - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig.Builder
 
SimpleLoadBalancerConfig(String, Map<String, String>) - Constructor for class io.smallrye.stork.spi.config.SimpleServiceConfig.SimpleLoadBalancerConfig
 
SimpleServiceConfig - Class in io.smallrye.stork.spi.config
 
SimpleServiceConfig.Builder - Class in io.smallrye.stork.spi.config
 
SimpleServiceConfig.SimpleLoadBalancerConfig - Class in io.smallrye.stork.spi.config
 
SimpleServiceConfig.SimpleServiceDiscoveryConfig - Class in io.smallrye.stork.spi.config
 
SimpleServiceDiscoveryConfig(String, Map<String, String>) - Constructor for class io.smallrye.stork.spi.config.SimpleServiceConfig.SimpleServiceDiscoveryConfig
 
storeResult(long, long, Throwable) - Method in interface io.smallrye.stork.spi.CallStatisticsCollector
invoked by ServiceInstanceWithStatGathering when a call is finished
StorkInfrastructure - Interface in io.smallrye.stork.spi
A provider for "utility" objects used by service discovery and load balancer implementations.

T

type() - Method in interface io.smallrye.stork.api.config.LoadBalancerConfig
Load balancer type, e.g.
type() - Method in interface io.smallrye.stork.api.config.ServiceDiscoveryConfig
Service discovery type, e.g.
type() - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig.SimpleLoadBalancerConfig
 
type() - Method in class io.smallrye.stork.spi.config.SimpleServiceConfig.SimpleServiceDiscoveryConfig
 
type() - Method in interface io.smallrye.stork.spi.ElementWithType
 

V

value() - Method in annotation type io.smallrye.stork.api.config.LoadBalancerAttributes
 
value() - Method in annotation type io.smallrye.stork.api.config.LoadBalancerType
 
value() - Method in annotation type io.smallrye.stork.api.config.ServiceDiscoveryAttributes
 
value() - Method in annotation type io.smallrye.stork.api.config.ServiceDiscoveryType
 
valueOf(String) - Static method in enum io.smallrye.stork.api.Metadata.DefaultMetadataKey
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.smallrye.stork.api.Metadata.DefaultMetadataKey
Returns an array containing the constants of this enum type, in the order they are declared.

W

with(T, Object) - Method in class io.smallrye.stork.api.Metadata
Creates a new instance of Metadata with the current entries, plus item.
B C D E G I L M N O P R S T V W 
All Classes All Packages