MCPcopy Index your code
hub / github.com/OpenTSDB/asynchbase / setMaxNumRows

Method setMaxNumRows

src/Scanner.java:502–508  ·  view source on GitHub ↗

Sets the maximum number of rows to scan per RPC (for better performance). Every time #nextRows() is invoked, up to this number of rows may be returned. The default value is #DEFAULT_MAX_NUM_ROWS. This knob has a high performance impact. If it's too low, you'll do too

(final int max_num_rows)

Source from the content-addressed store, hash-verified

500 * @throws IllegalArgumentException if the argument is zero or negative.
501 */
502 public void setMaxNumRows(final int max_num_rows) {
503 if (max_num_rows <= 0) {
504 throw new IllegalArgumentException("zero or negative argument: "
505 + max_num_rows);
506 }
507 this.max_num_rows = max_num_rows;
508 }
509
510 /**
511 * Sets the maximum number of {@link KeyValue}s the server is allowed to

Callers 2

scanMetaMethod · 0.95
nextRowsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected