public IndicesStatsRequestBuilder prepareStats(String... indices) {
return new ProxyIndicesStatsRequestBuilder(this, profiling).setIndices(indices);
}
public NodesStatsRequestBuilder prepareNodesStats(String... nodesIds) {
return new ProxyNodesStatsRequestBuilder(this, profiling).setNodesIds(nodesIds);
}