Searched refs:reduction (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/test/java/util/concurrent/Semaphore/
H A DPermitOverflow.java73 public void reducePermits(int reduction) {
74 super.reducePermits(reduction);
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DSemaphore.java640 * reduction. This method can be useful in subclasses that use
645 * @param reduction the number of permits to remove
646 * @throws IllegalArgumentException if {@code reduction} is negative
648 protected void reducePermits(int reduction) { argument
649 if (reduction < 0) throw new IllegalArgumentException();
650 sync.reducePermits(reduction);

Completed in 1610 milliseconds