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