barchart-util-concurrent
2.0.16 / 2012-12-19T12:07:36.441-0600

com.barchart.util.concurrent
Interface FutureListener<E>

Type Parameters:
E - The type of object that the callback returns
All Known Implementing Classes:
CancellableFutureNotifier, FutureNotifier, FutureNotifierBase

public interface FutureListener<E>

Defines an interface for FutureCallbackTask callback listeners.

Author:
jeremy
See Also:
FutureCallbackTask

Method Summary
 void resultAvailable(Future<E> result)
          Called when the deferred task completes successfully.
 

Method Detail

resultAvailable

void resultAvailable(Future<E> result)
                     throws Exception
Called when the deferred task completes successfully.

Parameters:
value - The return value from the deferred task
Throws:
Exception

barchart-util-concurrent
2.0.16 / 2012-12-19T12:07:36.441-0600

Copyright © 2011-2012 Barchart, Inc.. All Rights Reserved.