Package net.spy.memcached.transcoders
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 java.util.concurrent.Future
Future.State
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.concurrent.FutureTask
cancel, done, exceptionNow, isCancelled, isDone, resultNow, runAndReset, set, setException, state, toString
-
Field Details
-
isRunning
-
-
Constructor Details
-
Task
-
-
Method Details
-
get
- Specified by:
get
in interfaceFuture<T>
- Overrides:
get
in classFutureTask<T>
- Throws:
InterruptedException
ExecutionException
-
get
public T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
get
in interfaceFuture<T>
- Overrides:
get
in classFutureTask<T>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-
run
public void run()- Specified by:
run
in interfaceRunnable
- Specified by:
run
in interfaceRunnableFuture<T>
- Overrides:
run
in classFutureTask<T>
-