Module org.refcodes.mixin
Package org.refcodes.mixin
Interface RetryCountAccessor.RetryCountProperty
-
- All Superinterfaces:
RetryCountAccessor
,RetryCountAccessor.RetryCountMutator
- Enclosing interface:
- RetryCountAccessor
public static interface RetryCountAccessor.RetryCountProperty extends RetryCountAccessor, RetryCountAccessor.RetryCountMutator
Provides a retries count property.A retry count is the current count of retries being initiated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.RetryCountAccessor
RetryCountAccessor.RetryCountBuilder<B extends RetryCountAccessor.RetryCountBuilder<B>>, RetryCountAccessor.RetryCountMutator, RetryCountAccessor.RetryCountProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default int
letRetryCount(int aRetries)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofRetryCountAccessor.RetryCountMutator.setRetryCount(int)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.mixin.RetryCountAccessor
getRetryCount
-
Methods inherited from interface org.refcodes.mixin.RetryCountAccessor.RetryCountMutator
setRetryCount
-
-
-
-
Method Detail
-
letRetryCount
default int letRetryCount(int aRetries)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofRetryCountAccessor.RetryCountMutator.setRetryCount(int)
and returns the very same value (getter). A retry count is the current count of retries being initiated.- Parameters:
aRetries
- The integer to set (viaRetryCountAccessor.RetryCountMutator.setRetryCount(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-