Autopsy  4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.guiutils.RefreshThrottler Class Reference


interface  Refresher
class  RefreshTask

Public Member Functions

 RefreshThrottler (Refresher r)
void registerForIngestModuleEvents ()
void unregisterEventListener ()

Private Attributes

final PropertyChangeListener pcl
final Refresher refresher
final AtomicReference< RefreshTaskrefreshTaskRef

Static Private Attributes

static final Set< IngestManager.IngestModuleEvent > INGEST_MODULE_EVENTS_OF_INTEREST
static final long MIN_SECONDS_BETWEEN_REFRESH = 5

Detailed Description

Utility class that can be used by UI nodes to reduce the number of potentially expensive UI refresh events when DATA_ADDED, CONTENT_CHANGED, and FILE_DONE ingest manager events are received.

Definition at line 36 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.guiutils.RefreshThrottler.RefreshThrottler ( Refresher  r)

Member Function Documentation

void org.sleuthkit.autopsy.guiutils.RefreshThrottler.registerForIngestModuleEvents ( )
void org.sleuthkit.autopsy.guiutils.RefreshThrottler.unregisterEventListener ( )

Member Data Documentation

final Set<IngestManager.IngestModuleEvent> org.sleuthkit.autopsy.guiutils.RefreshThrottler.INGEST_MODULE_EVENTS_OF_INTEREST
Initial value:
= EnumSet.of(

Definition at line 69 of file

Referenced by org.sleuthkit.autopsy.guiutils.RefreshThrottler.registerForIngestModuleEvents().

final long org.sleuthkit.autopsy.guiutils.RefreshThrottler.MIN_SECONDS_BETWEEN_REFRESH = 5

Definition at line 67 of file

final PropertyChangeListener org.sleuthkit.autopsy.guiutils.RefreshThrottler.pcl

PropertyChangeListener that reacts to DATA_ADDED and CONTENT_CHANGED events and schedules a refresh task if one is not already scheduled.

Definition at line 93 of file

final Refresher org.sleuthkit.autopsy.guiutils.RefreshThrottler.refresher

Definition at line 65 of file

final AtomicReference<RefreshTask> org.sleuthkit.autopsy.guiutils.RefreshThrottler.refreshTaskRef

Definition at line 62 of file

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.