public class ClusterID extends Object
| Constructor and Description |
|---|
ClusterID() |
| Modifier and Type | Method and Description |
|---|---|
static List<Integer> |
get(io.etcd.jetcd.Client etcd)
Retrieves the numeric cluster ID from the Etcd cluster.
|
public static List<Integer> get(io.etcd.jetcd.Client etcd) throws IOException
etcd - Etcd connection.IOException - Thrown when retrieving the ID fails.Copyright © 2014–2021 Lable. All rights reserved.