Class TokenRange

java.lang.Object
org.apache.cassandra.service.TokenRange

public class TokenRange extends Object
Holds token range informations for the sake of StorageService.describeRing(java.lang.String). This class mostly exists for the sake of StorageService.describeRing(java.lang.String), which used to rely on a thrift class which this is the equivalent of. This is the reason this class behave how it does and the reason for the format of toString() in particular (used by StorageService.describeRingJMX(java.lang.String)). This class probably have no other good uses than providing backward compatibility.