Skip to content

Commit

Permalink
Issue #6251 - Use CyclicTimeout for HTTP2Streams.
Browse files Browse the repository at this point in the history
Fixed javadocs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed May 14, 2021
1 parent 7d203e1 commit daa4bf5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
* <p>An implementation of a timeout that manages many {@link Expirable expirable} entities whose
* timeouts are mostly cancelled or re-scheduled.</p>
* <p>A typical scenario is for a parent entity to manage the timeouts of many children entities.</p>
* <p>When a new entity is created, call {@link #schedule(T)} with the new entity so that
* <p>When a new entity is created, call {@link #schedule(Expirable)} with the new entity so that
* this instance can be aware and manage the timeout of the new entity.</p>
* <p>Eventually, this instance wakes up and iterates over the entities provided by {@link #iterator()}.
* During the iteration, each entity:</p>
* <ul>
* <li>may never expire (see {@link Expirable#getExpireNanoTime()}; the entity is ignored</li>
* <li>may be expired; {@link #onExpired(T)} is called with that entity as parameter</li>
* <li>may be expired; {@link #onExpired(Expirable)} is called with that entity as parameter</li>
* <li>may expire at a future time; the iteration records the earliest expiration time among
* all non-expired entities</li>
* </ul>
Expand Down

0 comments on commit daa4bf5

Please sign in to comment.