public final class SyncTimeoutTask extends Object implements TimeoutTask
TimeoutTask to be scheduled for synchronous operations.| Modifier and Type | Method and Description |
|---|---|
void |
abortable(Abortable abortable) |
void |
cancel()
Cancels this task.
|
boolean |
hasExecuted()
Returns whether this task has finished executing its timeout behavior.
|
void |
run()
Runs this task.
|
public void abortable(Abortable abortable)
abortable in interface TimeoutTaskabortable - the abortable requestpublic void run()
public void cancel()
cancel in interface TimeoutTaskpublic boolean hasExecuted()
hasExecuted in interface TimeoutTaskCopyright © 2023. All rights reserved.