code: public List<RiakNode> getNodes()
      {
          stateCheck(State.CREATED, State.RUNNING, State.SHUTTING_DOWN, State.QUEUING);
          try
          {
              nodeListLock.readLock().lock();
              return new ArrayList<>(nodeList);
          }
          finally
          {
              nodeListLock.readLock().unlock();
          }
      }
docs: Returns a copy of the list of nodes in this cluster.
  @return A copy of the list of RiakNodes