Package ubic.gemma.core.util
Class SimpleRetryContext
- java.lang.Object
-
- ubic.gemma.core.util.SimpleRetryContext
-
public class SimpleRetryContext extends Object
Holds the state of a retry attempt.- Author:
- poirigui
-
-
Field Summary
Fields Modifier and Type Field Description int
attempt
Indicate the attempt number (zero for first, 1 for second, etc.)boolean
lastAttempt
Indicate if this is the last attempt, any raised exception will bubble up toSimpleRetry.execute(SimpleRetryCallable, Object)
-
Constructor Summary
Constructors Constructor Description SimpleRetryContext()
-
-
-
Field Detail
-
attempt
public int attempt
Indicate the attempt number (zero for first, 1 for second, etc.)
-
lastAttempt
public boolean lastAttempt
Indicate if this is the last attempt, any raised exception will bubble up toSimpleRetry.execute(SimpleRetryCallable, Object)
-
-