Modifier and Type | Class and Description |
---|---|
class |
DefaultServiceInstance
Default implementation of
ServiceInstance . |
Modifier and Type | Method and Description |
---|---|
static URI |
DefaultServiceInstance.getUri(ServiceInstance instance)
Create a uri from the given ServiceInstance's host:port
|
Modifier and Type | Method and Description |
---|---|
ServiceInstance |
DiscoveryClient.getLocalServiceInstance() |
Modifier and Type | Method and Description |
---|---|
List<ServiceInstance> |
DiscoveryClient.getInstances(String serviceId)
Get all ServiceInstances associated with a particular serviceId
|
Modifier and Type | Method and Description |
---|---|
ServiceInstance |
NoopDiscoveryClient.getLocalServiceInstance() |
Modifier and Type | Method and Description |
---|---|
List<ServiceInstance> |
NoopDiscoveryClient.getInstances(String serviceId) |
Constructor and Description |
---|
NoopDiscoveryClient(ServiceInstance instance) |
Modifier and Type | Method and Description |
---|---|
ServiceInstance |
ServiceInstanceProvider.getServiceInstance()
Returns the service instance or null in case the service is currently unavailable.
|
ServiceInstance |
StaticServiceInstanceProvider.getServiceInstance() |
ServiceInstance |
DynamicServiceInstanceProvider.getServiceInstance() |
Modifier and Type | Method and Description |
---|---|
ServiceInstance |
LoadBalancerClient.choose(String serviceId)
Choose a ServiceInstance from the LoadBalancer for the specified service
|
Modifier and Type | Method and Description |
---|---|
T |
LoadBalancerRequest.apply(ServiceInstance instance) |
URI |
LoadBalancerClient.reconstructURI(ServiceInstance instance,
URI original)
Create a proper URI with a real host and port for systems to utilize.
|
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.