Package | Description |
---|---|
org.apache.curator.x.discovery | |
org.apache.curator.x.discovery.details | |
org.apache.curator.x.discovery.strategies |
Modifier and Type | Interface and Description |
---|---|
interface |
ServiceCache<T> |
Modifier and Type | Method and Description |
---|---|
ServiceInstance<T> |
ProviderStrategy.getInstance(InstanceProvider<T> instanceProvider)
Given a source of instances, return one of them for a single use.
|
Modifier and Type | Class and Description |
---|---|
class |
ServiceCacheImpl<T> |
Modifier and Type | Method and Description |
---|---|
ServiceInstance<T> |
RandomStrategy.getInstance(InstanceProvider<T> instanceProvider) |
ServiceInstance<T> |
StickyStrategy.getInstance(InstanceProvider<T> instanceProvider) |
ServiceInstance<T> |
RoundRobinStrategy.getInstance(InstanceProvider<T> instanceProvider) |
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.