public class SameInstancePreferenceServiceInstanceListSupplier extends DelegatingServiceInstanceListSupplier implements SelectedInstanceCallback
ServiceInstanceListSupplier that selects the previously
chosen instance if it's available.delegate| Constructor and Description |
|---|
SameInstancePreferenceServiceInstanceListSupplier(ServiceInstanceListSupplier delegate) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<List<ServiceInstance>> |
get() |
String |
getServiceId() |
void |
selectedServiceInstance(ServiceInstance serviceInstance)
Passes the selected
ServiceInstance as an argument. |
afterPropertiesSet, destroy, getDelegateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilder, getpublic SameInstancePreferenceServiceInstanceListSupplier(ServiceInstanceListSupplier delegate)
public String getServiceId()
getServiceId in interface ServiceInstanceListSuppliergetServiceId in class DelegatingServiceInstanceListSupplierpublic reactor.core.publisher.Flux<List<ServiceInstance>> get()
get in interface Supplier<reactor.core.publisher.Flux<List<ServiceInstance>>>public void selectedServiceInstance(ServiceInstance serviceInstance)
SelectedInstanceCallbackServiceInstance as an argument.selectedServiceInstance in interface SelectedInstanceCallbackserviceInstance - that has been selectedCopyright © 2021 Pivotal Software, Inc.. All rights reserved.