|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.nio.Util.DoneFuture<V>
V - the result typeabstract static class Util.DoneFuture<V>
Base class for an already-finished Future.
| Constructor Summary | |
|---|---|
protected |
Util.DoneFuture()
Allows construction by a subclass. |
| Method Summary | |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning)
|
abstract V |
get()
|
V |
get(long timeout,
TimeUnit unit)
|
boolean |
isCancelled()
|
boolean |
isDone()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Util.DoneFuture()
| Method Detail |
|---|
public V get(long timeout,
TimeUnit unit)
throws ExecutionException
This implementation calls get(), and never throws
InterruptedException or TimeoutException.
get in interface Future<V>ExecutionException
public abstract V get()
throws ExecutionException
Never throws InterruptedException.
get in interface Future<V>ExecutionExceptionpublic boolean cancel(boolean mayInterruptIfRunning)
This implementation always returns false.
cancel in interface Future<V>public boolean isCancelled()
This implementation always returns false.
isCancelled in interface Future<V>public boolean isDone()
This implementation always returns true.
isDone in interface Future<V>
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||