| Type | Name and description |
|---|---|
static int |
MAX_RETRY_COUNT |
static int |
TIMEOUT_MILLIS |
| Constructor and description |
|---|
Call
(org.gradle.api.Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
execute()Attempts to upload to the server, using automatic retries if unsuccessful |
|
int |
getRetryCount()Get the retry count defined by the user. |
|
boolean |
makeApiCall()Makes a request to an API. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Attempts to upload to the server, using automatic retries if unsuccessful
Get the retry count defined by the user. If none is set the default is 0 (zero). Also to avoid too much retries the max value is 5 (five).
Makes a request to an API. If the call is not successful, clients should return false for automatic retry logic.
Groovy Documentation