public static final class RetryPolicy.RetrySpec
extends java.lang.Object
Constructor and Description |
---|
RetrySpec(InvocationConfig invocationConfig)
Creates a specification, which may have an
InvocationConfig . |
Modifier and Type | Method and Description |
---|---|
InvocationConfig |
getInvocationConfig() |
public RetrySpec(InvocationConfig invocationConfig)
InvocationConfig
.
The InvocationConfig
will be used when retrying the
invocation.invocationConfig
- configuration for the next invocation
attempt; if null
the original
invocation configuration will be usedpublic InvocationConfig getInvocationConfig()
null