public class ExponentialAverageRetryStatistics extends DefaultRetryStatistics
Constructor and Description |
---|
ExponentialAverageRetryStatistics(String name) |
Modifier and Type | Method and Description |
---|---|
int |
getRollingAbortCount() |
int |
getRollingCompleteCount() |
int |
getRollingErrorCount() |
double |
getRollingErrorRate() |
int |
getRollingRecoveryCount() |
int |
getRollingStartedCount() |
void |
incrementAbortCount() |
void |
incrementCompleteCount() |
void |
incrementErrorCount() |
void |
incrementRecoveryCount() |
void |
incrementStartedCount() |
void |
setWindow(long window)
Window in milliseconds for exponential decay factor in rolling average.
|
getAbortCount, getCompleteCount, getErrorCount, getName, getRecoveryCount, getStartedCount, setName, toString
attributeNames, copyAttributesFrom, equals, getAttribute, hasAttribute, hashCode, removeAttribute, setAttribute
public ExponentialAverageRetryStatistics(String name)
public void setWindow(long window)
window
- the window to setpublic int getRollingStartedCount()
public int getRollingErrorCount()
public int getRollingAbortCount()
public int getRollingRecoveryCount()
public int getRollingCompleteCount()
public double getRollingErrorRate()
public void incrementStartedCount()
incrementStartedCount
in interface MutableRetryStatistics
incrementStartedCount
in class DefaultRetryStatistics
public void incrementCompleteCount()
incrementCompleteCount
in interface MutableRetryStatistics
incrementCompleteCount
in class DefaultRetryStatistics
public void incrementRecoveryCount()
incrementRecoveryCount
in interface MutableRetryStatistics
incrementRecoveryCount
in class DefaultRetryStatistics
public void incrementErrorCount()
incrementErrorCount
in interface MutableRetryStatistics
incrementErrorCount
in class DefaultRetryStatistics
public void incrementAbortCount()
incrementAbortCount
in interface MutableRetryStatistics
incrementAbortCount
in class DefaultRetryStatistics
Copyright © 2018 SpringSource. All rights reserved.