Skip to content

Commit

Permalink
Javadoc formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalterman committed Dec 4, 2021
1 parent e4795dc commit 4543bc0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/dev/failsafe/RateLimiter.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
* <li>{@link #tryAcquirePermit(Duration)}</li>
* <li>{@link #tryAcquirePermits(int, Duration)}</li>
* </ul>
* </p>
* <p>
* The methods that return immediately include:
* <ul>
* <li>{@link #tryAcquirePermit()}</li>
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/dev/failsafe/RateLimiterConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@

import java.time.Duration;

/**
* Configuration for a {@link RateLimiter}.
*
* @param <R> result type
* @author Jonathan Halterman
*/
public class RateLimiterConfig<R> extends PolicyConfig<R> {
// Smoothing
Duration maxRate;
Expand Down

0 comments on commit 4543bc0

Please sign in to comment.