Class IndexingState


  • public class IndexingState
    extends java.lang.Object
    Stores the state of a indexing task.
    • Constructor Summary

      Constructors 
      Constructor Description
      IndexingState​(java.lang.Long jobId, java.lang.String indexingpath, java.util.concurrent.Future<java.lang.Boolean> result)
      Constructor for an IndexingState object.
    • Constructor Detail

      • IndexingState

        public IndexingState​(java.lang.Long jobId,
                             java.lang.String indexingpath,
                             java.util.concurrent.Future<java.lang.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 java.lang.Long getJobIdentifier()
        Returns:
        the Id of the job being indexed.
      • getIndex

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

        public java.util.concurrent.Future<java.lang.Boolean> getResultObject()
        Returns:
        the result of the indexing process.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object