org.apache.activemq.apollo.util
Interface ListenableFuture<V>

All Superinterfaces:
java.util.concurrent.Future<V>

public interface ListenableFuture<V>
extends java.util.concurrent.Future<V>

ListenableFuture

Description:

Version:
1.0
Author:
cmacnaug

Method Summary
 void setFutureListener(FutureListener<? super V> listener)
          Adds a listener for this future.
 
Methods inherited from interface java.util.concurrent.Future
cancel, get, get, isCancelled, isDone
 

Method Detail

setFutureListener

void setFutureListener(FutureListener<? super V> listener)
Adds a listener for this future. The listener is called when the Future is cancelled, or executed.

Parameters:
listener - The listener.


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.