MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / setLevel

Method setLevel

src/tree/TreeRule.java:731–739  ·  view source on GitHub ↗

@param level The top level processing order. Must be 0 or greater @throws IllegalArgumentException if the level was negative

(int level)

Source from the content-addressed store, hash-verified

729 /** @param level The top level processing order. Must be 0 or greater
730 * @throws IllegalArgumentException if the level was negative */
731 public void setLevel(int level) {
732 if (level < 0) {
733 throw new IllegalArgumentException("Negative levels are not allowed");
734 }
735 if (this.level != level) {
736 changed.put("level", true);
737 this.level = level;
738 }
739 }
740
741 /** @param order The order of processing within a level.
742 * Must be 0 or greater

Calls 1

putMethod · 0.80