Class NoOpTimeoutTracker
java.lang.Object
software.amazon.awssdk.core.internal.http.timers.NoOpTimeoutTracker
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidSets the abortable task to be aborted byTimeoutTaskvoidcancel()cancel theScheduledFuturebooleanboolean
-
Field Details
-
INSTANCE
-
-
Method Details
-
hasExecuted
public boolean hasExecuted()- Specified by:
hasExecutedin interfaceTimeoutTracker- Returns:
- True if timeout task has been executed. False otherwise
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceTimeoutTracker- Returns:
- True if the timer task has been scheduled. False if the timeout is disabled for this request
-
cancel
public void cancel()Description copied from interface:TimeoutTrackercancel theScheduledFuture- Specified by:
cancelin interfaceTimeoutTracker
-
abortable
Description copied from interface:TimeoutTrackerSets the abortable task to be aborted byTimeoutTask- Specified by:
abortablein interfaceTimeoutTracker- Parameters:
abortable- the abortable task
-