| Modifier and Type | Method and Description |
|---|---|
java.time.Duration |
getAverageDuration()
Returns the current average duration of all calls.
|
float |
getFailureRate()
Returns the current failure rate in percentage.
|
int |
getNumberOfFailedCalls()
Returns the current number of failed calls.
|
int |
getNumberOfSlowFailedCalls()
Returns the current number of failed calls which were slower than a certain threshold.
|
int |
getNumberOfSlowSuccessfulCalls()
Returns the current number of successful calls which were slower than a certain threshold.
|
int |
getNumberOfSuccessfulCalls()
Returns the current number of successful calls.
|
float |
getSlowCallRate()
Returns the current percentage of calls which were slower than a certain threshold.
|
java.time.Duration |
getTotalDuration()
Returns the current total duration of all calls.
|
int |
getTotalNumberOfCalls()
Returns the current total number of all calls.
|
int |
getTotalNumberOfSlowCalls()
Returns the current number of calls which were slower than a certain threshold.
|
public java.time.Duration getTotalDuration()
SnapshotgetTotalDuration in interface Snapshotpublic int getTotalNumberOfSlowCalls()
SnapshotgetTotalNumberOfSlowCalls in interface Snapshotpublic int getNumberOfSlowSuccessfulCalls()
SnapshotgetNumberOfSlowSuccessfulCalls in interface Snapshotpublic int getNumberOfSlowFailedCalls()
SnapshotgetNumberOfSlowFailedCalls in interface Snapshotpublic float getSlowCallRate()
SnapshotgetSlowCallRate in interface Snapshotpublic int getNumberOfSuccessfulCalls()
SnapshotgetNumberOfSuccessfulCalls in interface Snapshotpublic int getNumberOfFailedCalls()
SnapshotgetNumberOfFailedCalls in interface Snapshotpublic int getTotalNumberOfCalls()
SnapshotgetTotalNumberOfCalls in interface Snapshotpublic float getFailureRate()
SnapshotgetFailureRate in interface Snapshotpublic java.time.Duration getAverageDuration()
SnapshotgetAverageDuration in interface Snapshot