vishnu.transport.remoting
Interface RemoteFuture<V>
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- RemoteFutureAdapter
public interface RemoteFuture<V>
- extends java.rmi.Remote
-
Method Summary |
boolean |
cancel(boolean mayInterruptIfRunning)
|
V |
get()
|
V |
get(long timeout,
java.util.concurrent.TimeUnit unit)
|
boolean |
isCancelled()
|
boolean |
isDone()
|
cancel
boolean cancel(boolean mayInterruptIfRunning)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
isCancelled
boolean isCancelled()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
isDone
boolean isDone()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
get
V get()
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException,
java.rmi.RemoteException
- Throws:
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.rmi.RemoteException
get
V get(long timeout,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException,
java.util.concurrent.TimeoutException,
java.rmi.RemoteException
- Throws:
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
java.rmi.RemoteException