com.google.common.util.concurrent
Interface UninterruptibleFuture<V>

All Superinterfaces:
Future<V>

Deprecated. Use getUninterruptibly. Scheduled for deletion in Guava Release 11.

@Beta
@Deprecated
public interface UninterruptibleFuture<V>
extends Future<V>

A Future whose get calls cannot be interrupted. If a thread is interrupted during such a call, the call continues to block until the result is available or the timeout elapses, and only then re-interrupts the thread. Obtain an instance of this type using Futures.makeUninterruptible(Future).

Since:
1.0
Author:
Kevin Bourrillion

Method Summary
 V get()
          Deprecated.  
 V get(long timeout, TimeUnit unit)
          Deprecated.  
 
Methods inherited from interface java.util.concurrent.Future
cancel, isCancelled, isDone
 

Method Detail

get

V get()
      throws ExecutionException
Deprecated. 
Specified by:
get in interface Future<V>
Throws:
ExecutionException

get

V get(long timeout,
      TimeUnit unit)
      throws ExecutionException,
             TimeoutException
Deprecated. 
Specified by:
get in interface Future<V>
Throws:
ExecutionException
TimeoutException


Copyright © 2010-2011. All Rights Reserved.