Lines Matching defs:newThreshold
112 public void setUsageThreshold(long newThreshold) {
121 if (newThreshold < 0) {
123 "Invalid threshold: " + newThreshold);
126 if (usage.getMax() != -1 && newThreshold > usage.getMax()) {
128 "Invalid threshold: " + newThreshold +
140 setUsageThreshold0(usageThreshold, newThreshold);
141 this.usageThreshold = newThreshold;
209 public void setCollectionUsageThreshold(long newThreshold) {
218 if (newThreshold < 0) {
220 "Invalid threshold: " + newThreshold);
223 if (usage.getMax() != -1 && newThreshold > usage.getMax()) {
225 "Invalid threshold: " + newThreshold +
235 setCollectionThreshold0(collectionThreshold, newThreshold);
236 this.collectionThreshold = newThreshold;
277 private native void setUsageThreshold0(long current, long newThreshold);
278 private native void setCollectionThreshold0(long current, long newThreshold);