public class FlushStatistics extends Object implements Serializable
Constructor and Description |
---|
FlushStatistics() |
Modifier and Type | Method and 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 |
setOptimised(boolean optimised)
Deprecated.
since 5.2. Optimize index (i.e. force merging to 1 segment is no longer required) CONFDEV-16098
|
void |
setQueueSize(long queueSize) |
void |
setRecreated(boolean recreated) |
void |
setStarted(Date started) |
boolean |
wasOptimised()
Deprecated.
since 5.2. Optimize index (i.e. force merging to 1 segment is no longer required) CONFDEV-16098
|
boolean |
wasRecreated() |
protected void reset()
public long getElapsedMilliseconds()
public long getQueueSize()
public boolean wasRecreated()
public boolean wasOptimised()
public Date getStarted()
public Date getFinished()
public void setStarted(Date started)
public void setFinished(Date finished)
public void setQueueSize(long queueSize)
public void setRecreated(boolean recreated)
public void setOptimised(boolean optimised)
optimised
- Copyright © 2003–2017 Atlassian. All rights reserved.