| Constructor and Description |
|---|
IndexBlockRetryAttempt(long number) |
| Modifier and Type | Method and Description |
|---|---|
Void |
get() |
long |
getAttemptNumber() |
long |
getDelaySinceFirstAttempt() |
Throwable |
getExceptionCause() |
Void |
getResult() |
boolean |
hasException() |
boolean |
hasResult() |
public long getAttemptNumber()
getAttemptNumber in interface com.github.rholder.retry.Attempt<Void>public long getDelaySinceFirstAttempt()
getDelaySinceFirstAttempt in interface com.github.rholder.retry.Attempt<Void>public Void get() throws ExecutionException
get in interface com.github.rholder.retry.Attempt<Void>ExecutionExceptionpublic boolean hasResult()
hasResult in interface com.github.rholder.retry.Attempt<Void>public boolean hasException()
hasException in interface com.github.rholder.retry.Attempt<Void>public Void getResult() throws IllegalStateException
getResult in interface com.github.rholder.retry.Attempt<Void>IllegalStateExceptionpublic Throwable getExceptionCause() throws IllegalStateException
getExceptionCause in interface com.github.rholder.retry.Attempt<Void>IllegalStateExceptionCopyright © 2012–2021 Graylog, Inc.. All rights reserved.