Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.infinispan.commons.util.concurrent;
A listener that is called back when a future is done. FutureListener instances are attached to NotifyingFutures by passing them in to NotifyingFuture.attachListener(org.infinispan.commons.util.concurrent.FutureListener)

Note that the futureDone(java.util.concurrent.Future) callback is invoked when the future completes, regardless of how the future completes (i.e., normally, due to an exception, or cancelled}. As such, implementations should check the future passed in by calling future.get().

Manik Surtani
public interface FutureListener<T> {
   void futureDone(Future<T> future);
New to GrepCode? Check out our FAQ X