Class HttpDestination.TimeoutTask
java.lang.Object
org.eclipse.jetty.io.CyclicTimeout
org.eclipse.jetty.client.HttpDestination.TimeoutTask
- All Implemented Interfaces:
Destroyable
- Enclosing class:
HttpDestination
This class enforces the total timeout for exchanges that are still in the queue.
The total timeout for exchanges that are not in the destination queue is enforced
by
HttpChannel.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when the timeout expires.private voidschedule(long expiresAt) Methods inherited from class CyclicTimeout
cancel, destroy, getScheduler, schedule
-
Field Details
-
nextTimeout
-
-
Constructor Details
-
TimeoutTask
-
-
Method Details
-
onTimeoutExpired
public void onTimeoutExpired()Description copied from class:CyclicTimeoutInvoked when the timeout expires.
- Specified by:
onTimeoutExpiredin classCyclicTimeout
-
schedule
private void schedule(long expiresAt)
-