Uses of Interface
org.apache.curator.x.discovery.ProviderStrategy
-
Packages that use ProviderStrategy Package Description org.apache.curator.x.discovery org.apache.curator.x.discovery.details org.apache.curator.x.discovery.strategies -
-
Uses of ProviderStrategy in org.apache.curator.x.discovery
Methods in org.apache.curator.x.discovery with parameters of type ProviderStrategy Modifier and Type Method Description ServiceProviderBuilder<T>ServiceProviderBuilder. providerStrategy(ProviderStrategy<T> providerStrategy)optional - set the provider strategy. -
Uses of ProviderStrategy in org.apache.curator.x.discovery.details
Constructors in org.apache.curator.x.discovery.details with parameters of type ProviderStrategy Constructor Description ServiceProviderImpl(ServiceDiscoveryImpl<T> discovery, java.lang.String serviceName, ProviderStrategy<T> providerStrategy, java.util.concurrent.ThreadFactory threadFactory, java.util.List<InstanceFilter<T>> filters, DownInstancePolicy downInstancePolicy) -
Uses of ProviderStrategy in org.apache.curator.x.discovery.strategies
Classes in org.apache.curator.x.discovery.strategies that implement ProviderStrategy Modifier and Type Class Description classRandomStrategy<T>This strategy always picks a random instance from the listclassRoundRobinStrategy<T>This strategy rotates sequentially through the list of instancesclassStickyStrategy<T>This strategy uses a master strategy to pick the initial instance.Constructors in org.apache.curator.x.discovery.strategies with parameters of type ProviderStrategy Constructor Description StickyStrategy(ProviderStrategy<T> masterStrategy)
-