public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getObjectsCount(com.aerospike.client.cluster.Node node,
String namespace,
String setName) |
static com.aerospike.client.cluster.Node |
getRandomNode(com.aerospike.client.cluster.Node[] nodes) |
static int |
getReplicationFactor(com.aerospike.client.cluster.Node[] nodes,
String namespace) |
static String[] |
infoAll(com.aerospike.client.IAerospikeClient client,
String infoString)
Issues an "Info" request to all nodes in the cluster.
|
public static String[] infoAll(com.aerospike.client.IAerospikeClient client, String infoString)
client - An IAerospikeClient.infoString - The name of the variable to retrieve.public static int getReplicationFactor(com.aerospike.client.cluster.Node[] nodes,
String namespace)
public static com.aerospike.client.cluster.Node getRandomNode(com.aerospike.client.cluster.Node[] nodes)
Copyright © 2020–2021 Aerospike, Inc. All rights reserved.