public final class NoOpTimeoutTracker extends Object implements TimeoutTracker
TimeoutTracker.| Modifier and Type | Field and Description |
|---|---|
static NoOpTimeoutTracker |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
abortable(Abortable abortable)
Sets the abortable task to be aborted by
TimeoutTask |
void |
cancel()
cancel the
ScheduledFuture |
boolean |
hasExecuted() |
boolean |
isEnabled() |
public static final NoOpTimeoutTracker INSTANCE
public boolean hasExecuted()
hasExecuted in interface TimeoutTrackerpublic boolean isEnabled()
isEnabled in interface TimeoutTrackerpublic void cancel()
TimeoutTrackerScheduledFuturecancel in interface TimeoutTrackerpublic void abortable(Abortable abortable)
TimeoutTrackerTimeoutTaskabortable in interface TimeoutTrackerabortable - the abortable taskCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.