Class HttpConnection.RequestTimeouts

    • Constructor Detail

      • RequestTimeouts

        private RequestTimeouts​(Scheduler scheduler)
    • Method Detail

      • onExpired

        protected boolean onExpired​(HttpChannel channel)
        Description copied from class: CyclicTimeouts

        Invoked during the iteration when the given entity is expired.

        This method may be invoked multiple times, and even concurrently, for the same expirable entity and therefore the expiration of the entity, if any, should be an idempotent action.

        Specified by:
        onExpired in class CyclicTimeouts<HttpChannel>
        Parameters:
        channel - the entity that is expired
        Returns:
        whether the entity should be removed from the iterator via Iterator.remove()