Uses of Interface
org.apache.curator.x.discovery.ProviderStrategy
Package
Description
-
Uses of ProviderStrategy in org.apache.curator.x.discovery
Modifier and TypeMethodDescriptionServiceProviderBuilder.providerStrategy
(ProviderStrategy<T> providerStrategy) optional - set the provider strategy. -
Uses of ProviderStrategy in org.apache.curator.x.discovery.details
ModifierConstructorDescriptionprotected
ServiceProviderImpl
(ServiceDiscoveryImpl<T> discovery, String serviceName, ProviderStrategy<T> providerStrategy, ThreadFactory threadFactory, ExecutorService executorService, List<InstanceFilter<T>> filters, DownInstancePolicy downInstancePolicy) ServiceProviderImpl
(ServiceDiscoveryImpl<T> discovery, String serviceName, ProviderStrategy<T> providerStrategy, ThreadFactory threadFactory, List<InstanceFilter<T>> filters, DownInstancePolicy downInstancePolicy) -
Uses of ProviderStrategy in org.apache.curator.x.discovery.server.contexts
Modifier and TypeMethodDescriptionGenericDiscoveryContext.getProviderStrategy()
IntegerDiscoveryContext.getProviderStrategy()
StringDiscoveryContext.getProviderStrategy()
ModifierConstructorDescriptionGenericDiscoveryContext
(ServiceDiscovery<T> serviceDiscovery, ProviderStrategy<T> providerStrategy, int instanceRefreshMs, com.google.common.reflect.TypeToken<T> payloadType) GenericDiscoveryContext
(ServiceDiscovery<T> serviceDiscovery, ProviderStrategy<T> providerStrategy, int instanceRefreshMs, Class<T> payloadType) IntegerDiscoveryContext
(ServiceDiscovery<Integer> serviceDiscovery, ProviderStrategy<Integer> providerStrategy, int instanceRefreshMs) MapDiscoveryContext
(ServiceDiscovery<Map<String, String>> serviceDiscovery, ProviderStrategy<Map<String, String>> providerStrategy, int instanceRefreshMs) StringDiscoveryContext
(ServiceDiscovery<String> serviceDiscovery, ProviderStrategy<String> providerStrategy, int instanceRefreshMs) -
Uses of ProviderStrategy in org.apache.curator.x.discovery.server.rest
Modifier and TypeMethodDescriptionDiscoveryContext.getProviderStrategy()
Return the provider strategy to use forDiscoveryResource.getAny(String)
-
Uses of ProviderStrategy in org.apache.curator.x.discovery.strategies
Modifier and TypeClassDescriptionclass
This strategy always picks a random instance from the listclass
This strategy rotates sequentially through the list of instancesclass
This strategy uses a master strategy to pick the initial instance.