rice
Interface Executable<R,E extends Exception>

All Known Implementing Classes:
ReplicationImpl.BloomFilterExecutable

public interface Executable<R,E extends Exception>

Asynchronously executes a processing function, and returns the result. Just like Runnable, but has a return value;

Version:
$Id: Executable.java 4520 2008-10-10 15:04:07Z jstewart $
Author:
Alan Mislove

Method Summary
 R execute()
          Executes the potentially expensive task and returns the result.
 

Method Detail

execute

R execute()
          throws E extends Exception
Executes the potentially expensive task and returns the result.

Parameters:
result - The result of the command.
Throws:
E extends Exception


Copyright © 2010. All Rights Reserved.