OperationProgressEventArgs

Inheritance: java.lang.Object, com.groupdocs.search.events.EventArgs, com.groupdocs.search.events.BaseIndexEventArgs

public class OperationProgressEventArgs extends BaseIndexEventArgs

Represents arguments for the event of the indexing operation progress is updated.

Learn more

Methods

Method Description
getTotalDocuments() Gets the total number of documents for processing.
getProcessedDocuments() Gets the number of successfully processed documents.
getSkippedDocuments() Gets the number of skipped documents.
getProgressPercentage() Gets the percentage of the progress.
getLastDocumentKey() Gets the key of the last processed document.
getLastDocumentPath() Gets the path of the last processed document.
getLastDocumentStatus() Gets the status of the last processed document.

getTotalDocuments()

public final int getTotalDocuments()

Gets the total number of documents for processing.

Returns: int - The total number of documents for processing.

getProcessedDocuments()

public final int getProcessedDocuments()

Gets the number of successfully processed documents.

Returns: int - The number of successfully processed documents.

getSkippedDocuments()

public final int getSkippedDocuments()

Gets the number of skipped documents.

Returns: int - The number of skipped documents.

getProgressPercentage()

public final double getProgressPercentage()

Gets the percentage of the progress.

Returns: double - The percentage of the progress.

getLastDocumentKey()

public final String getLastDocumentKey()

Gets the key of the last processed document.

Returns: java.lang.String - The last processed document key.

getLastDocumentPath()

public final String getLastDocumentPath()

Gets the path of the last processed document.

Returns: java.lang.String - The last processed document path.

getLastDocumentStatus()

public final DocumentStatus getLastDocumentStatus()

Gets the status of the last processed document.

Returns: DocumentStatus - The last processed document status.