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

Method ringLength

lib/tokenizer.js:406–411  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404 }
405
406 ringLength() {
407 if (!this._ringLength) {
408 this._ringLength = this.maxValue().add(Integer.ONE);
409 }
410 return this._ringLength;
411 }
412
413 split(start, end, numberOfSplits) {
414 // ]min, min] means the whole ring.

Callers 1

splitMethod · 0.95

Calls 2

maxValueMethod · 0.95
addMethod · 0.65

Tested by

no test coverage detected