Class IndexingStatus
- java.lang.Object
-
- fr.paris.lutece.plugins.elasticdata.service.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 intgetCurrentNbIndexedObj()Get the current number of indexed objectsjava.util.concurrent.atomic.AtomicBooleangetIsRunning()Returns the IsRunningintgetNbTotalObj()Get the total number of data objects to indexdoublegetProgress()Get the percent of indexed objectsjava.lang.StringBuildergetSbLogs()Returns the SbLogsjava.lang.StringgetStringSbLogs()Returns the SbLogsvoidreset()Reset the Indexing StatusvoidsetCurrentNbIndexedObj(int nCurrentNbIndexedObj)Set the current number of indexed objectsvoidsetIsRunning(java.util.concurrent.atomic.AtomicBoolean bIsRunning)Sets the IsRunningvoidsetnNbTotalObj(int nNbTotalObj)Set the total number of data objects to indexvoidsetSbLogs(java.lang.StringBuilder sbLogs)Sets the SbLogs
-
-
-
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
-
-