cluster5.shared
Interface ClusterTask
public interface ClusterTask
This class represents a runnable class in the cluster. It accepts an argument of data
to process and returns a result.
- Author:
- ibisek
Method Summary |
java.lang.Object |
process(java.lang.Object argument)
Main method of a cluster task. |
process
java.lang.Object process(java.lang.Object argument)
- Main method of a cluster task. It accepts an argument, typically a configuration or
data to process and returns a result. The argument and result can be any arbitraty
class, the only requirement is these this objects MUST BE SERIALIZABLE(!).
- Parameters:
argument
-
- Returns:
- result