Class FlushStatistics
- java.lang.Object
-
- com.atlassian.confluence.search.lucene.FlushStatistics
-
- All Implemented Interfaces:
Serializable
public class FlushStatistics extends Object implements Serializable
A simple statistics object that holds details for an index flushing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlushStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetElapsedMilliseconds()Retrieved the elapsed time for the flush.DategetFinished()longgetQueueSize()Retrieve the number of elements processed by the latest flush.DategetStarted()Get the start time.protected voidreset()Reset this flush instance.voidsetFinished(Date finished)voidsetQueueSize(long queueSize)voidsetRecreated(boolean recreated)voidsetStarted(Date started)booleanwasRecreated()
-
-
-
Method Detail
-
reset
protected void reset()
Reset this flush instance.
-
getElapsedMilliseconds
public long getElapsedMilliseconds()
Retrieved the elapsed time for the flush.
-
getQueueSize
public long getQueueSize()
Retrieve the number of elements processed by the latest flush.
-
wasRecreated
public boolean wasRecreated()
-
getStarted
public Date getStarted()
Get the start time.
-
getFinished
public Date getFinished()
-
setStarted
public void setStarted(Date started)
-
setFinished
public void setFinished(Date finished)
-
setQueueSize
public void setQueueSize(long queueSize)
-
setRecreated
public void setRecreated(boolean recreated)
-
-