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
-
Method Summary
Modifier and TypeMethodDescriptionlong
Retrieved the elapsed time for the flush.long
Retrieve the number of elements processed by the latest flush.Get the start time.protected void
reset()
Reset this flush instance.void
setFinished
(Date finished) void
setQueueSize
(long queueSize) void
setRecreated
(boolean recreated) void
setStarted
(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)
-