public class RssDetectionFuture extends Object implements Future<Boolean>
ExecutionException wrapped around an actual exception if one occurred.| Constructor and Description |
|---|
RssDetectionFuture(RssDetectionWork detectionWork) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
Boolean |
get() |
Boolean |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
public RssDetectionFuture(@NotNull
RssDetectionWork detectionWork)
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<Boolean>public Boolean get() throws InterruptedException, ExecutionException
get in interface Future<Boolean>InterruptedExceptionExecutionExceptionpublic Boolean get(long timeout, @NotNull TimeUnit unit) throws InterruptedException, ExecutionException
get in interface Future<Boolean>InterruptedExceptionExecutionExceptionCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.