19 package org.sleuthkit.autopsy.ingest;
21 import java.io.Serializable;
22 import java.util.Collections;
23 import java.util.Date;
24 import java.util.List;
52 String dataSourceName,
55 String currentIngestModuleTier,
56 DataSourceIngestPipeline.DataSourcePipelineModule dataSourceIngestModule,
57 boolean fileIngestRunning,
58 Date fileIngestStartTime,
61 List<String> cancelledModules,
63 long estimatedFilesToProcess,
66 this.dataSource = dataSourceName;
75 this.cancelledDataSourceModules = cancelledModules;
78 this.snapShotTime = snapshotTime;
88 long getSnapshotTime() {
97 String getDataSource() {
116 long getJobStartTime() {
125 String getCurrentIngestModuleTier() {
135 DataSourceIngestPipeline.DataSourcePipelineModule getDataSourceLevelIngestModule() {
145 boolean getFileIngestIsRunning() {
155 Date getFileIngestStartTime() {
156 return new Date(fileIngestStartTime.getTime());
165 double getFilesProcessedPerSec() {
166 return (
double) processedFiles / ((snapShotTime -
jobStartTime) / 1000);
175 long getFilesProcessed() {
185 long getFilesEstimated() {
196 long getDsQueueSize() {
209 long getRootQueueSize() {
222 long getDirQueueSize() {
235 long getStreamingQueueSize() {
248 long getFileQueueSize() {
262 long getDataArtifactTasksQueueSize() {
276 long getAnalysisResultTasksQueueSize() {
289 long getRunningListSize() {
301 boolean isCancelled() {
310 IngestJob.CancellationReason getCancellationReason() {
321 List<String> getCancelledDataSourceIngestModules() {
322 return Collections.unmodifiableList(this.cancelledDataSourceModules);
transient final boolean jobCancelled
transient final DataSourceIngestPipeline.DataSourcePipelineModule dataSourceLevelIngestModule
final String currentIngestModuleTier
final IngestTasksScheduler.IngestTasksSnapshot tasksSnapshot
static final long serialVersionUID
final boolean fileIngestRunning
final long estimatedFilesToProcess
transient final IngestJob.CancellationReason jobCancellationReason
transient final List< String > cancelledDataSourceModules
final long processedFiles
final Date fileIngestStartTime