public abstract class ServiceDiscoveryFactory<IFACE> extends BaseServiceFactory<IFACE>
| Constructor and Description |
|---|
ServiceDiscoveryFactory(Class<IFACE> serviceInterface) |
| Modifier and Type | Method and Description |
|---|---|
ServiceNodeBalancer |
getServiceNodeBalancer() |
ServiceNodeDiscovery |
getServiceNodeDiscovery() |
void |
setServiceNodeBalancer(ServiceNodeBalancer serviceNodeBalancer)
Don't forget to call serviceNodeBalancer.start().
|
void |
setServiceNodeDiscovery(ServiceNodeDiscovery serviceNodeDiscovery)
Don't forget to call serviceNodeDiscovery.start().
|
getServiceInterfaceequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateServicepublic ServiceNodeDiscovery getServiceNodeDiscovery()
public void setServiceNodeDiscovery(ServiceNodeDiscovery serviceNodeDiscovery)
serviceNodeDiscovery - the node locator implementationpublic ServiceNodeBalancer getServiceNodeBalancer()
public void setServiceNodeBalancer(ServiceNodeBalancer serviceNodeBalancer)
serviceNodeBalancer - the node balancer implementationCopyright © 2016 Irenical. All rights reserved.