MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / ringLength

Method ringLength

lib/tokenizer.js:322–327  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

320 }
321
322 ringLength() {
323 if (!this._ringLength) {
324 this._ringLength = this.maxValue().subtract(this.minValue());
325 }
326 return this._ringLength;
327 }
328
329 split(start, end, numberOfSplits) {
330 // ]min, min] means the whole ring.

Callers 1

splitMethod · 0.95

Calls 2

maxValueMethod · 0.95
minValueMethod · 0.95

Tested by

no test coverage detected