Class IndexingStatus


  • public class IndexingStatus
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      IndexingStatus()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCurrentNbIndexedObj()
      Get the current number of indexed objects
      java.util.concurrent.atomic.AtomicBoolean getIsRunning()
      Returns the IsRunning
      int getNbTotalObj()
      Get the total number of data objects to index
      double getProgress()
      Get the percent of indexed objects
      java.lang.StringBuilder getSbLogs()
      Returns the SbLogs
      java.lang.String getStringSbLogs()
      Returns the SbLogs
      void reset()
      Reset the Indexing Status
      void setCurrentNbIndexedObj​(int nCurrentNbIndexedObj)
      Set the current number of indexed objects
      void setIsRunning​(java.util.concurrent.atomic.AtomicBoolean bIsRunning)
      Sets the IsRunning
      void setnNbTotalObj​(int nNbTotalObj)
      Set the total number of data objects to index
      void setSbLogs​(java.lang.StringBuilder sbLogs)
      Sets the SbLogs
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IndexingStatus

        public IndexingStatus()
    • Method Detail

      • getNbTotalObj

        public int getNbTotalObj()
        Get the total number of data objects to index
        Returns:
        the total number or data objects to index
      • setnNbTotalObj

        public void setnNbTotalObj​(int nNbTotalObj)
        Set the total number of data objects to index
        Parameters:
        nNbTotalObj - The total number of objs
      • getCurrentNbIndexedObj

        public int getCurrentNbIndexedObj()
        Get the current number of indexed objects
        Returns:
        the current number of indexed objects
      • setCurrentNbIndexedObj

        public void setCurrentNbIndexedObj​(int nCurrentNbIndexedObj)
        Set the current number of indexed objects
        Parameters:
        nCurrentNbIndexedObj - the current
      • getIsRunning

        public java.util.concurrent.atomic.AtomicBoolean getIsRunning()
        Returns the IsRunning
        Returns:
        The IsRunning
      • setIsRunning

        public void setIsRunning​(java.util.concurrent.atomic.AtomicBoolean bIsRunning)
        Sets the IsRunning
        Parameters:
        bIsRunning - The IsRunning
      • getProgress

        public double getProgress()
        Get the percent of indexed objects
        Returns:
        the percent of the indexed objects
      • getStringSbLogs

        public java.lang.String getStringSbLogs()
        Returns the SbLogs
        Returns:
        The SbLogs
      • getSbLogs

        public java.lang.StringBuilder getSbLogs()
        Returns the SbLogs
        Returns:
        The SbLogs
      • setSbLogs

        public void setSbLogs​(java.lang.StringBuilder sbLogs)
        Sets the SbLogs
        Parameters:
        sbLogs - The SbLogs
      • reset

        public void reset()
        Reset the Indexing Status