B C D E G I L M N O P R S T V W
All Classes All Packages
All Classes All Packages
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
- getInstances() - Method in class io.smallrye.stork.api.Service
-
Provide a collection of available
ServiceInstances - 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 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
LoadBalancerwhen 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
LoadBalancerwhen 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<K>) - Static method in class io.smallrye.stork.api.Metadata
-
Returns an instance of
Metadatacontaining an empty set of values. - of(Class<K>, Map<K, Object>) - Static method in class io.smallrye.stork.api.Metadata
-
Returns an instance of
Metadatacontaining 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
- recordEnd(long, Throwable) - Method in interface io.smallrye.stork.spi.CallStatisticsCollector
- recordEnd(Throwable) - Method in interface io.smallrye.stork.api.ServiceInstance
-
When
gatherStatisticsis enabled, reports the end of an operation using this service instance. - recordReply() - Method in interface io.smallrye.stork.api.ServiceInstance
-
When
gatherStatisticsis enabled, reports a reply for an operation using this service instance. - recordReply(long, long) - Method in interface io.smallrye.stork.spi.CallStatisticsCollector
- recordStart(boolean) - Method in interface io.smallrye.stork.api.ServiceInstance
-
Warning
- recordStart(long, boolean) - Method in interface io.smallrye.stork.spi.CallStatisticsCollector
- 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
- requiresStrictRecording() - Method in interface io.smallrye.stork.api.LoadBalancer
-
LoadBalancers often record information of the calls being made with instances they return, be it inflight requests, response time, etc.
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
- selectInstance() - Method in class io.smallrye.stork.api.Service
-
Selects a service instance.
- selectInstance(Collection<ServiceInstance>) - Method in class io.smallrye.stork.api.Service
-
Using the underlying load balancer, select a service instance from the collection of service instances.
- selectInstanceAndRecordStart(boolean) - Method in class io.smallrye.stork.api.Service
-
Selects a service instance and records a start of an operation using the instance
- selectInstanceAndRecordStart(Collection<ServiceInstance>, boolean) - Method in class io.smallrye.stork.api.Service
-
Select a ServiceInstance for this service from a collection and record a start of an operation using the instance.
- selectServiceInstance(Collection<ServiceInstance>) - Method in interface io.smallrye.stork.api.LoadBalancer
-
Select a single
ServiceInstancefrom the given list. - Service - Class in io.smallrye.stork.api
-
Represents a Service.
- Service(String, LoadBalancer, ServiceDiscovery, boolean, 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
- 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
Metadatawith the current entries, plusitem.
All Classes All Packages