- All Known Implementing Classes:
SnapshotImpl
public interface Snapshot
-
Method Summary
-
Method Details
-
java.time.Duration getTotalDuration()
Returns the current total duration of all calls.
- Returns:
- the current total duration of all calls
-
java.time.Duration getAverageDuration()
Returns the current average duration of all calls.
- Returns:
- the current average duration of all calls
-
int getTotalNumberOfSlowCalls()
Returns the current number of calls which were slower than a certain threshold.
- Returns:
- the current number of calls which were slower than a certain threshold
-
int getNumberOfSlowSuccessfulCalls()
Returns the current number of successful calls which were slower than a certain threshold.
- Returns:
- the current number of successful calls which were slower than a certain threshold
-
int getNumberOfSlowFailedCalls()
Returns the current number of failed calls which were slower than a certain threshold.
- Returns:
- the current number of failed calls which were slower than a certain threshold
-
float getSlowCallRate()
Returns the current percentage of calls which were slower than a certain threshold.
- Returns:
- the current percentage of calls which were slower than a certain threshold
-
int getNumberOfSuccessfulCalls()
Returns the current number of successful calls.
- Returns:
- the current number of successful calls
-
int getNumberOfFailedCalls()
Returns the current number of failed calls.
- Returns:
- the current number of failed calls
-
int getTotalNumberOfCalls()
Returns the current total number of all calls.
- Returns:
- the current total number of all calls
-
float getFailureRate()
Returns the current failure rate in percentage.
- Returns:
- the current failure rate in percentage