public class StatusClient extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getLeader()
Retrieves the host/port of the Consul leader.
|
List<String> |
getPeers()
Retrieves a list of host/ports for raft peers.
|
public String getLeader()
Copyright © 2016. All rights reserved.