@Override
public List<Object> getNodesServingPool(String pool) {
if("default".equals(pool)) {
NodesInfoRequestBuilder infoBuilder = client.admin().cluster().prepareNodesInfo((String[]) null);
NodesInfoResponse infoResponse = infoBuilder.execute().actionGet();
// extract what we need from this response
List<Object> nodes = new ArrayList<Object>();
for (NodeInfo nodeInfo : infoResponse.getNodes()) {