Autopsy  4.18.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

Classes

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 RefreshThrottler.java.

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
staticprivate
Initial value:
= EnumSet.of(
IngestManager.IngestModuleEvent.DATA_ADDED,
IngestManager.IngestModuleEvent.CONTENT_CHANGED,
IngestManager.IngestModuleEvent.FILE_DONE)

Definition at line 69 of file RefreshThrottler.java.

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

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

Definition at line 67 of file RefreshThrottler.java.

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

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 RefreshThrottler.java.

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

Definition at line 65 of file RefreshThrottler.java.

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

Definition at line 62 of file RefreshThrottler.java.


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

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.