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

- Packages that use TokenRange
  Package | Description
  --- | ---
  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
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<TokenRange>` | StorageService.`describeLocalRing(java.lang.String keyspace)` The same as `describeRing(String)` but considers only the part of the ring formed by nodes in the local DC.
    `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
    Modifier and Type | Field and Description
    --- | ---
    `java.util.List<TokenRange>` | Cassandra.describe_ring_result.`success`
    `java.util.List<TokenRange>` | Cassandra.describe_local_ring_result.`success`

    Methods in org.apache.cassandra.thrift that return TokenRange
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<TokenRange>` | CassandraServer.`describe_local_ring(java.lang.String keyspace)`
    `java.util.List<TokenRange>` | Cassandra.Iface.`describe_local_ring(java.lang.String keyspace)` same as describe_ring, but considers only nodes in the local DC
    `java.util.List<TokenRange>` | Cassandra.Client.`describe_local_ring(java.lang.String keyspace)`
    `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.AsyncClient.describe_local_ring_call.`getResult()`
    `org.apache.thrift.async.AsyncMethodCallback<java.util.List<TokenRange>>` | Cassandra.AsyncProcessor.describe_ring.`getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid)`
    `org.apache.thrift.async.AsyncMethodCallback<java.util.List<TokenRange>>` | Cassandra.AsyncProcessor.describe_local_ring.`getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid)`
    `java.util.List<TokenRange>` | Cassandra.describe_ring_result.`getSuccess()`
    `java.util.List<TokenRange>` | Cassandra.describe_local_ring_result.`getSuccess()`
    `java.util.Iterator<TokenRange>` | Cassandra.describe_ring_result.`getSuccessIterator()`
    `java.util.Iterator<TokenRange>` | Cassandra.describe_local_ring_result.`getSuccessIterator()`
    `java.util.List<TokenRange>` | Cassandra.Client.`recv_describe_local_ring()`
    `java.util.List<TokenRange>` | Cassandra.Client.`recv_describe_ring()`

    Methods in org.apache.cassandra.thrift with parameters of type TokenRange
    Modifier and Type | Method and Description
    --- | ---
    `void` | Cassandra.describe_ring_result.`addToSuccess(TokenRange elem)`
    `void` | Cassandra.describe_local_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
    Modifier and Type | Method and Description
    --- | ---
    `Cassandra.describe_ring_result` | Cassandra.describe_ring_result.`setSuccess(java.util.List<TokenRange> success)`
    `Cassandra.describe_local_ring_result` | Cassandra.describe_local_ring_result.`setSuccess(java.util.List<TokenRange> success)`
    `void` | Cassandra.AsyncProcessor.describe_local_ring.`start(I iface, Cassandra.describe_local_ring_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<TokenRange>> resultHandler)`
    `void` | Cassandra.AsyncProcessor.describe_ring.`start(I iface, Cassandra.describe_ring_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<TokenRange>> resultHandler)`

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

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

Copyright © 2018 The Apache Software Foundation