com.bigdata.service.proxy
Interface RemoteFuture<T>

All Superinterfaces:
Remote
All Known Implementing Classes:
RemoteFutureImpl

public interface RemoteFuture<T>
extends Remote

Remote interface declaring the API of Future but also declaring that each methods throws IOException in order to be compatible with Remote and Exporter. Of course, this means that this interface can not extend Future!

Version:
$Id: RemoteFuture.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Method Summary
 boolean cancel(boolean mayInterruptIfRunning)
           
 T get()
           
 T get(long timeout, TimeUnit unit)
           
 boolean isCancelled()
           
 boolean isDone()
           
 

Method Detail

cancel

boolean cancel(boolean mayInterruptIfRunning)
               throws IOException
Throws:
IOException

get

T get()
      throws InterruptedException,
             ExecutionException,
             IOException
Throws:
InterruptedException
ExecutionException
IOException

get

T get(long timeout,
      TimeUnit unit)
      throws InterruptedException,
             ExecutionException,
             TimeoutException,
             IOException
Throws:
InterruptedException
ExecutionException
TimeoutException
IOException

isCancelled

boolean isCancelled()
                    throws IOException
Throws:
IOException

isDone

boolean isDone()
               throws IOException
Throws:
IOException


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.