Back to Fresco

ScheduledFutureImpl

docs/javadoc/reference/com/facebook/common/executors/ScheduledFutureImpl.html

3.6.013.3 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Packages | Classes

Summary: Ctors | Methods | Inherited Methods | [Expand All]

public class

ScheduledFutureImpl

extends Object
implements RunnableFuture<V> ScheduledFuture<V>

| java.lang.Object | | ↳ | com.facebook.common.executors.ScheduledFutureImpl<V> |

Class Overview

A ScheduledFuture for HandlerExecutorServiceImpl.

Summary

Public Constructors
Public Methods
boolean
int
V
V
long
boolean
boolean
void

| [Expand] Inherited Methods | | --- | | From class java.lang.Object

| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

| | From interface java.lang.Comparable

| abstract int | compareTo(T arg0) |

| | From interface java.lang.Runnable

| abstract void | run() |

| | From interface java.util.concurrent.Delayed

| abstract long | getDelay(TimeUnit arg0) |

| | From interface java.util.concurrent.Future

| abstract boolean | cancel(boolean arg0) | | abstract V | get(long arg0, TimeUnit arg1) | | abstract V | get() | | abstract boolean | isCancelled() | | abstract boolean | isDone() |

| | From interface java.util.concurrent.RunnableFuture

| abstract void | run() |

|

Public Constructors

public ScheduledFutureImpl(Handler handler, Callable<V> callable)

public ScheduledFutureImpl(Handler handler, Runnable runnable, V result)

Public Methods

public boolean cancel(boolean mayInterruptIfRunning)

public int compareTo(Delayed other)

public V get(long timeout, TimeUnit unit)

Throws

| ExecutionException | | | InterruptedException | | | TimeoutException | |

public V get()

Throws

| ExecutionException | | | InterruptedException | |

public long getDelay(TimeUnit unit)

public boolean isCancelled()

public boolean isDone()

public void run()

+Generated by Doclava. +