Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
TaskAttempt () | |
TaskAttempt (Long delay, TimeUnit timeUnit) | |
TaskAttempt (Long delay, Long timeOut, TimeUnit timeUnit) | |
Long | getDelay () |
Long | getTimeout () |
TimeUnit | getTimeUnit () |
Private Attributes | |
final Long | delay |
final Long | timeOut |
final TimeUnit | timeUnit |
Encapsulates the specification of a task attempt for the attemptTask() utility.
Definition at line 49 of file TaskRetryUtil.java.
org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.TaskAttempt | ( | ) |
Constructs an object that encapsulates the specification of a task attempt for the attemptTask() utility. The attempt will have neither a delay nor a time out.
Definition at line 60 of file TaskRetryUtil.java.
org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.TaskAttempt | ( | Long | delay, |
TimeUnit | timeUnit | ||
) |
Constructs an object that encapsulates the specification of a task attempt for the attemptTask() utility.
delay | The delay before the task should be attempted, may be zero or any positive integer. |
timeUnit | The time unit for the delay before the task should be attempted. |
Definition at line 75 of file TaskRetryUtil.java.
References org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.delay, and org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.timeUnit.
org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.TaskAttempt | ( | Long | delay, |
Long | timeOut, | ||
TimeUnit | timeUnit | ||
) |
Constructs an object that encapsulates the specification of a task attempt for the attemptTask() utility.
delay | The delay before the task should be attempted, must be zero or any positive integer. |
timeOut | The timeout for the task attempt, must be zero or any positive integer. |
timeUnit | The time unit for the delay before the task should be attempted and the time out. |
Definition at line 98 of file TaskRetryUtil.java.
References org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.delay, org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.timeOut, and org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.timeUnit.
Long org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.getDelay | ( | ) |
Gets the optional delay before the task should be attempted, may be zero. Call getTimeUnit() to get the time unit for the delay.
Definition at line 119 of file TaskRetryUtil.java.
References org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.delay.
Referenced by org.sleuthkit.autopsy.threadutils.TaskRetryUtil.attemptTask().
Long org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.getTimeout | ( | ) |
Gets the the optional timeout for the task attempt, may be zero. Call getTimeUnit() to get the time unit for the delay.
Definition at line 129 of file TaskRetryUtil.java.
References org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.timeOut.
Referenced by org.sleuthkit.autopsy.threadutils.TaskRetryUtil.attemptTask().
TimeUnit org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.getTimeUnit | ( | ) |
Gets the time unit for the optional delay before the task should be attempted and/or the optional time out.
Definition at line 139 of file TaskRetryUtil.java.
References org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.timeUnit.
Referenced by org.sleuthkit.autopsy.threadutils.TaskRetryUtil.attemptTask().
|
private |
Definition at line 51 of file TaskRetryUtil.java.
Referenced by org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.getDelay(), and org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.TaskAttempt().
|
private |
Definition at line 52 of file TaskRetryUtil.java.
Referenced by org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.getTimeout(), and org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.TaskAttempt().
|
private |
Definition at line 53 of file TaskRetryUtil.java.
Referenced by org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.getTimeUnit(), and org.sleuthkit.autopsy.threadutils.TaskRetryUtil.TaskAttempt.TaskAttempt().
Copyright © 2012-2022 Basis Technology. Generated on: Thu Mar 23 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.