Class IndexingState


  • public class IndexingState
    extends Object
    Stores the state of a indexing task.
    • Constructor Detail

      • IndexingState

        public IndexingState​(Long jobId,
                             String indexingpath,
                             Future<Boolean> result)
        Constructor for an IndexingState object.
        Parameters:
        jobId - The ID of the Job being indexing.
        indexingpath - The full path to the index.
        result - The result object for the indexing task
    • Method Detail

      • getJobIdentifier

        public Long getJobIdentifier()
        Returns:
        the Id of the job being indexed.
      • getIndex

        public String getIndex()
        Returns:
        the full path to the index generated.
      • getResultObject

        public Future<Boolean> getResultObject()
        Returns:
        the result of the indexing process.