com.ibm.tspaces.services.utility
Interface Eval
- All Known Implementing Classes:
- Merger
- public interface Eval
- extends java.lang.Runnable, java.io.Serializable
This defines the Eval interface.
An Eval object isRunnable and Serializable and contains a
getResult() method that return an object.
This interface is inspired by the book MirrorWorld by David Gelernter.
This interface and the associated Worker class implements his
idea of clients that will grab tuples that contain
eval() functions, run the procedure indicated by the eval() and then
return the answer to the tuplespace.
- Author:
- John Thomas
- See Also:
Worker
Method Summary |
java.io.Serializable |
getResult()
This method will return the result of the run() method to the
calling task. |
Methods inherited from interface java.lang.Runnable |
run |
getResult
public java.io.Serializable getResult()
- This method will return the result of the run() method to the
calling task.