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()
Snapshot
getTotalDuration
in interface Snapshot
public int getTotalNumberOfSlowCalls()
Snapshot
getTotalNumberOfSlowCalls
in interface Snapshot
public int getNumberOfSlowSuccessfulCalls()
Snapshot
getNumberOfSlowSuccessfulCalls
in interface Snapshot
public int getNumberOfSlowFailedCalls()
Snapshot
getNumberOfSlowFailedCalls
in interface Snapshot
public float getSlowCallRate()
Snapshot
getSlowCallRate
in interface Snapshot
public int getNumberOfSuccessfulCalls()
Snapshot
getNumberOfSuccessfulCalls
in interface Snapshot
public int getNumberOfFailedCalls()
Snapshot
getNumberOfFailedCalls
in interface Snapshot
public int getTotalNumberOfCalls()
Snapshot
getTotalNumberOfCalls
in interface Snapshot
public float getFailureRate()
Snapshot
getFailureRate
in interface Snapshot
public java.time.Duration getAverageDuration()
Snapshot
getAverageDuration
in interface Snapshot