com.sun.grid
Interface Computable

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Job

public interface Computable
extends java.io.Serializable

This interface marks a class that can be executed by the compute engine.


Method Summary
 java.io.Serializable compute()
          This method causes this class to execute
 

Method Detail

compute

public java.io.Serializable compute()
                             throws ComputeException
This method causes this class to execute

Returns:
the results object
Throws:
ComputeException - if an error occurs during execution