Autopsy  4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.timeline.CancellationProgressTask< X > Class Template Referenceabstract

Inherits Task< X >.

Inherited by org.sleuthkit.autopsy.timeline.db.EventsRepository.DBPopulationWorker.

Public Member Functions

abstract ReadOnlyBooleanProperty cancellableProperty ()
 
synchronized boolean isCancelRequested ()
 
synchronized boolean requestCancel ()
 

Private Attributes

boolean cancelRequested
 

Detailed Description

An extension of Task that allows a client to request cancellation, with out the Task entering the cancelled state immediately. This allows the task to continue to report progress of eg its cleanup operations. Implementations should use the isCancelRequested() method to check for cancellation and call cancel() before returning from the call() method.

Definition at line 31 of file CancellationProgressTask.java.

Member Function Documentation

abstract ReadOnlyBooleanProperty org.sleuthkit.autopsy.timeline.CancellationProgressTask< X >.cancellableProperty ( )
abstract
synchronized boolean org.sleuthkit.autopsy.timeline.CancellationProgressTask< X >.isCancelRequested ( )
synchronized boolean org.sleuthkit.autopsy.timeline.CancellationProgressTask< X >.requestCancel ( )

Definition at line 39 of file CancellationProgressTask.java.

Member Data Documentation

boolean org.sleuthkit.autopsy.timeline.CancellationProgressTask< X >.cancelRequested
private

Definition at line 33 of file CancellationProgressTask.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jan 2 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.