src/java/org/apache/cassandra/service/StorageService.java
/**
     * The same as {@code describeRing(String)} but converts TokenRange to the String for JMX compatibility
     *
     * @param keyspace The keyspace to fetch information about
     *
     * @return a List of TokenRange(s) converted to String for the given keyspace
     *
     * @throws InvalidRequestException if there is no ring information available about keyspace
     */
The same as  describeRing(String) but converts TokenRange to the String for JMX compatibility
@param keyspace The keyspace to fetch information about

@return a List of TokenRange(s) converted to String for the given keyspace

@throws InvalidRequestException if there is no ring information available about keyspace
The same as describeRing ( String ) but converts TokenRange to the String for JMX compatibility @param keyspace The keyspace to fetch information about @return a List of TokenRange ( s ) converted to String for the given keyspace @throws InvalidRequestException if there is no ring information available about keyspace
@Override
    public List<String> describeRingJMX(String keyspace) throws InvalidRequestException
    {
        List<String> result = new ArrayList<String>();
        for (TokenRange tokenRange : describeRing(keyspace))
            result.add(tokenRange.toString());
        return result;
    }
@ Override public List < String > describeRingJMX ( String keyspace ) throws InvalidRequestException { List < String > result = new ArrayList < String > ( ) ; for ( TokenRange tokenRange : describeRing ( keyspace ) ) result . add ( tokenRange . toString ( ) ) ; return result ; }
The same as {@code describeRing(String)} but converts TokenRange to the String for JMX compatibility
 @param keyspace The keyspace to fetch information about
The same as { @code describeRing ( String ) } but converts TokenRange to the String for JMX compatibility @param keyspace The keyspace to fetch information about