Apply format plugin

This commit is contained in:
Dave Syer
2019-03-20 17:03:08 +00:00
parent 0a1c3cb3c1
commit 84e906fbe6
127 changed files with 1956 additions and 1854 deletions

View File

@@ -17,11 +17,11 @@
package org.springframework.retry;
/**
* Interface for statistics reporting of retry attempts. Counts the number of
* retry attempts, successes, errors (including retries), and aborts.
*
* Interface for statistics reporting of retry attempts. Counts the number of retry
* attempts, successes, errors (including retries), and aborts.
*
* @author Dave Syer
*
*
*/
public interface RetryStatistics {
@@ -31,39 +31,32 @@ public interface RetryStatistics {
int getCompleteCount();
/**
* Get the number of times a retry block has been entered, irrespective of
* how many times the operation was retried.
*
* Get the number of times a retry block has been entered, irrespective of how many
* times the operation was retried.
* @return the number of retry blocks started.
*/
int getStartedCount();
/**
* Get the number of errors detected, whether or not they resulted in a
* retry.
*
* Get the number of errors detected, whether or not they resulted in a retry.
* @return the number of errors detected.
*/
int getErrorCount();
/**
* Get the number of times a block failed to complete successfully, even
* after retry.
*
* Get the number of times a block failed to complete successfully, even after retry.
* @return the number of retry attempts that failed overall.
*/
int getAbortCount();
/**
* Get the number of times a recovery callback was applied.
*
* @return the number of recovered attempts.
*/
int getRecoveryCount();
/**
* Get an identifier for the retry block for reporting purposes.
*
* @return an identifier for the block.
*/
String getName();