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>
ExecutionException
public 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>
IllegalStateException
public Throwable getExceptionCause() throws IllegalStateException
getExceptionCause
in interface com.github.rholder.retry.Attempt<Void>
IllegalStateException
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.