Rice Pastry API

rice
Interface Executable<R,E extends java.lang.Exception>

All Known Implementing Classes:
ReplicationImpl.BloomFilterExecutable

public interface Executable<R,E extends java.lang.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 java.lang.Exception
Executes the potentially expensive task and returns the result.

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

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection