Class ServiceDiscoveryClient
java.lang.Object
io.appform.dropwizard.discovery.client.ServiceDiscoveryClient
public class ServiceDiscoveryClient extends Object
Client that returns a healthy node from nodes for a particular environment
-
Method Summary
Modifier and Type Method Description List<com.flipkart.ranger.model.ServiceNode<ShardInfo>>getAllNodes()List<com.flipkart.ranger.model.ServiceNode<ShardInfo>>getAllNodes(ShardInfo shardInfo)Optional<com.flipkart.ranger.model.ServiceNode<ShardInfo>>getNode()Optional<com.flipkart.ranger.model.ServiceNode<ShardInfo>>getNode(ShardInfo shardInfo)voidstart()voidstop()
-
Method Details
-
start
- Throws:
Exception
-
stop
- Throws:
Exception
-
getNode
-
getAllNodes
-
getNode
-
getAllNodes
-