Apache.Cassandra.Cassandra.Client.describe_ring C# (CSharp) Method

describe_ring() public method

get the token ring: a map of ranges to host addresses, represented as a set of TokenRange instead of a map from range to list of endpoints, because you can't use Thrift structs as map keys: https://issues.apache.org/jira/browse/THRIFT-162 for the same reason, we can't return a set here, even though order is neither important nor predictable.
public describe_ring ( string keyspace ) : List
keyspace string
return List
      public List<TokenRange> describe_ring(string keyspace)
      {
        #if !SILVERLIGHT
        send_describe_ring(keyspace);
        return recv_describe_ring();

        #else
        var asyncResult = Begin_describe_ring(null, null, keyspace);
        return End_describe_ring(asyncResult);

        #endif
      }
      #if SILVERLIGHT
Cassandra.Client