Package com.atlassian.confluence.search
Class FlushStatistics
java.lang.Object
com.atlassian.confluence.search.FlushStatistics
- All Implemented Interfaces:
Serializable
A simple statistics object that holds details for an index flushing.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongRetrieved the elapsed time for the flush.longRetrieve the number of elements processed by the latest flush.Get the start time.protected voidreset()Reset this flush instance.voidsetFinished(Date finished) voidsetQueueSize(long queueSize) voidsetRecreated(boolean recreated) voidsetStarted(Date started) boolean
-
Constructor Details
-
FlushStatistics
public FlushStatistics()
-
-
Method Details
-
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
Get the start time. -
getFinished
-
setStarted
-
setFinished
-
setQueueSize
public void setQueueSize(long queueSize) -
setRecreated
public void setRecreated(boolean recreated)
-