Class NonCancellableFuture<ResponseT> (2.10.0)

See more code actions.
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.

java.lang.Object > com.google.api.core.AbstractApiFuture > NonCancellableFuture<ResponseT>
com.google.api.core.AbstractApiFuture.addListener(java.lang.Runnable,java.util.concurrent.Executor)
com.google.api.core.AbstractApiFuture.cancel(boolean)
com.google.api.core.AbstractApiFuture.get()
com.google.api.core.AbstractApiFuture.get(long,java.util.concurrent.TimeUnit)
com.google.api.core.AbstractApiFuture.interruptTask()
com.google.api.core.AbstractApiFuture.isCancelled()
com.google.api.core.AbstractApiFuture.isDone()
com.google.api.core.AbstractApiFuture.set(V)
com.google.api.core.AbstractApiFuture.setException(java.lang.Throwable)

Type Parameter

NameDescription
ResponseT

Constructors

NonCancellableFuture()

public NonCancellableFuture()

Methods

cancel(boolean mayInterruptIfRunning)

public boolean cancel(boolean mayInterruptIfRunning)
Parameter
NameDescription
mayInterruptIfRunningboolean
Returns
TypeDescription
boolean
Overrides
com.google.api.core.AbstractApiFuture.cancel(boolean)