Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
spkrka committed Dec 14, 2015
1 parent 0e01e77 commit 003c1cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/spotify/futures/ConcurrencyLimiter.java
Expand Up @@ -70,6 +70,8 @@ public static <T> ConcurrencyLimiter<T> create(int maxConcurrency, int maxQueueS
* @param callable - a function that creates a future.
* @returns a proxy future that completes with the future created by the
* input function.
* @throws {@link NullPointerException} if callable is null
* @throws {@link CapacityReachedException} when soft queue size limit is exceeded.
*/
public ListenableFuture<T> add(Callable<? extends ListenableFuture<T>> callable) {
Preconditions.checkNotNull(callable);
Expand Down

0 comments on commit 003c1cf

Please sign in to comment.