Class TranscodeService.Task<T>
java.lang.Object
java.util.concurrent.FutureTask<T>
net.spy.memcached.transcoders.TranscodeService.Task<T>
- All Implemented Interfaces:
Runnable, Future<T>, RunnableFuture<T>
- Enclosing class:
TranscodeService
-
Nested Class Summary
Nested classes/interfaces inherited from interface Future
Future.State -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FutureTask
cancel, done, exceptionNow, isCancelled, isDone, resultNow, runAndReset, set, setException, state, toString
-
Field Details
-
isRunning
-
-
Constructor Details
-
Task
-
-
Method Details
-
get
- Specified by:
getin interfaceFuture<T>- Overrides:
getin classFutureTask<T>- Throws:
InterruptedExceptionExecutionException
-
get
public T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture<T>- Overrides:
getin classFutureTask<T>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
run
public void run()- Specified by:
runin interfaceRunnable- Specified by:
runin interfaceRunnableFuture<T>- Overrides:
runin classFutureTask<T>
-