code: public List<InetAddress> nodes() {
          List<InetAddress> allNodes = new ArrayList<InetAddress>();
          BucketConfig config = bucketConfig.get();
          for (NodeInfo nodeInfo : config.nodes()) {
              try {
                  allNodes.add(InetAddress.getByName(nodeInfo.hostname().address()));
              } catch (UnknownHostException e) {
                  throw new IllegalStateException(e);
              }
          }
          return allNodes;
      }
docs: Returns all nodes known in the current config.
  
  @return all currently known nodes.