public final class NonCancellableFuture<ResponseT> extends AbstractApiFuture<ResponseT>
A future which cannot be cancelled from the external package.
For internal use, public for technical reasons.
Type Parameter | |
---|---|
Name | Description |
ResponseT |
Constructors
NonCancellableFuture()
public NonCancellableFuture()
Methods
cancel(boolean mayInterruptIfRunning)
public boolean cancel(boolean mayInterruptIfRunning)
Parameter | |
---|---|
Name | Description |
mayInterruptIfRunning | boolean |
Returns | |
---|---|
Type | Description |
boolean |