mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
add public API to ingest manager to check status of scheduler (if hasNext() )
This commit is contained in:
parent
95afd5bb89
commit
fea9ed936d
@ -576,6 +576,23 @@ public class IngestManager {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if data source scheduler has files in queues
|
||||
* @return true if more sources in queues, false otherwise
|
||||
*/
|
||||
public boolean getDataSourceSchedulerHasNext() {
|
||||
return this.scheduler.getDataSourceScheduler().hasNext();
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if file scheduler has files in queues
|
||||
* @return true if more files in queues, false otherwise
|
||||
*/
|
||||
public boolean getFileSchedulerHasNext() {
|
||||
return scheduler.getFileScheduler().hasNext();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* returns if manager is currently configured to process unalloc space
|
||||
*
|
||||
@ -601,6 +618,9 @@ public class IngestManager {
|
||||
return stats.toString();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Module publishes message using InegestManager handle Does not block. The
|
||||
* message gets enqueued in the GUI thread and displayed in a widget
|
||||
|
Loading…
x
Reference in New Issue
Block a user