Package com.atlassian.confluence.search
Class FlushStatistics
- java.lang.Object
-
- com.atlassian.confluence.search.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 long
getElapsedMilliseconds()
Retrieved the elapsed time for the flush.Date
getFinished()
long
getQueueSize()
Retrieve the number of elements processed by the latest flush.Date
getStarted()
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
wasRecreated()
-
-
-
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)
-
-