Interface TimeoutTracker
- All Known Implementing Classes:
 ApiCallTimeoutTracker,NoOpTimeoutTracker
public interface TimeoutTracker
Tracker task to track the 
TimeoutTask and the ScheduledFuture that
 schedules the timeout task.- 
Method Summary
Modifier and TypeMethodDescriptionvoidSets the abortable task to be aborted byTimeoutTaskvoidcancel()cancel theScheduledFuturebooleanboolean 
- 
Method Details
- 
hasExecuted
boolean hasExecuted()- Returns:
 - True if timeout task has been executed. False otherwise
 
 - 
isEnabled
boolean isEnabled()- Returns:
 - True if the timer task has been scheduled. False if the timeout is disabled for this request
 
 - 
cancel
void cancel()cancel theScheduledFuture - 
abortable
Sets the abortable task to be aborted byTimeoutTask- Parameters:
 abortable- the abortable task
 
 -