## Uses of Class
org.apache.cassandra.thrift.TokenRange

Packages that use TokenRange
org.apache.cassandra.service
org.apache.cassandra.thrift

Uses of TokenRange in org.apache.cassandra.service

Methods in org.apache.cassandra.service that return types with arguments of type TokenRange
`java.util.List<TokenRange>` `StorageService.describeRing(java.lang.String keyspace)` The TokenRange for a given keyspace.

Uses of TokenRange in org.apache.cassandra.thrift

Fields in org.apache.cassandra.thrift with type parameters of type TokenRange
`java.util.List<TokenRange>` `Cassandra.describe_ring_result.success`

Methods in org.apache.cassandra.thrift that return TokenRange
`TokenRange` `TokenRange.deepCopy()`
`TokenRange` `TokenRange.setEnd_token(java.lang.String end_token)`
`TokenRange` `TokenRange.setEndpoint_details(java.util.List<EndpointDetails> endpoint_details)`
`TokenRange` `TokenRange.setEndpoints(java.util.List<java.lang.String> endpoints)`
`TokenRange` `TokenRange.setRpc_endpoints(java.util.List<java.lang.String> rpc_endpoints)`
`TokenRange` `TokenRange.setStart_token(java.lang.String start_token)`

Methods in org.apache.cassandra.thrift that return types with arguments of type TokenRange
`java.util.List<TokenRange>` `CassandraServer.describe_ring(java.lang.String keyspace)`

`java.util.List<TokenRange>`

`Cassandra.Iface.describe_ring(java.lang.String keyspace)`
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.

`java.util.List<TokenRange>` `Cassandra.Client.describe_ring(java.lang.String keyspace)`
`java.util.List<TokenRange>` `Cassandra.AsyncClient.describe_ring_call.getResult()`
`java.util.List<TokenRange>` `Cassandra.describe_ring_result.getSuccess()`
`java.util.Iterator<TokenRange>` `Cassandra.describe_ring_result.getSuccessIterator()`
`java.util.List<TokenRange>` `Cassandra.Client.recv_describe_ring()`

Methods in org.apache.cassandra.thrift with parameters of type TokenRange
`void` `Cassandra.describe_ring_result.addToSuccess(TokenRange elem)`
`int` `TokenRange.compareTo(TokenRange other)`
`boolean` `TokenRange.equals(TokenRange that)`

Method parameters in org.apache.cassandra.thrift with type arguments of type TokenRange
`Cassandra.describe_ring_result` `Cassandra.describe_ring_result.setSuccess(java.util.List<TokenRange> success)`

Constructors in org.apache.cassandra.thrift with parameters of type TokenRange
`TokenRange(TokenRange other)` Performs a deep copy on other.

Constructor parameters in org.apache.cassandra.thrift with type arguments of type TokenRange
`Cassandra.describe_ring_result(java.util.List<TokenRange> success, InvalidRequestException ire)`

Copyright © 2012 The Apache Software Foundation