public class ServiceFinder extends Object
| Constructor and Description |
|---|
ServiceFinder(org.apache.curator.framework.CuratorFramework curatorFramework,
org.apache.curator.x.discovery.details.InstanceSerializer<eu.europeana.cloud.service.coordination.ServiceProperties> instanceSerializer,
String zookeeperRegistrationPath) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.curator.x.discovery.ServiceInstance<eu.europeana.cloud.service.coordination.ServiceProperties> |
getRandomService() |
org.apache.curator.x.discovery.ServiceInstance<eu.europeana.cloud.service.coordination.ServiceProperties> |
getRoundRobinService() |
org.apache.curator.x.discovery.ServiceInstance<eu.europeana.cloud.service.coordination.ServiceProperties> |
getService() |
Collection<org.apache.curator.x.discovery.ServiceInstance<eu.europeana.cloud.service.coordination.ServiceProperties>> |
getServiceInstances() |
public ServiceFinder(org.apache.curator.framework.CuratorFramework curatorFramework,
org.apache.curator.x.discovery.details.InstanceSerializer<eu.europeana.cloud.service.coordination.ServiceProperties> instanceSerializer,
String zookeeperRegistrationPath)
public org.apache.curator.x.discovery.ServiceInstance<eu.europeana.cloud.service.coordination.ServiceProperties> getRandomService()
public org.apache.curator.x.discovery.ServiceInstance<eu.europeana.cloud.service.coordination.ServiceProperties> getRoundRobinService()
public org.apache.curator.x.discovery.ServiceInstance<eu.europeana.cloud.service.coordination.ServiceProperties> getService()
public Collection<org.apache.curator.x.discovery.ServiceInstance<eu.europeana.cloud.service.coordination.ServiceProperties>> getServiceInstances()
Copyright © 2013–2016 Europeana Cloud Development Team. All rights reserved.