Interface Cluster
-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public interface Cluster implements AutoCloseable
The entity that represent the joined cluster.
-
-
Method Summary
Modifier and Type Method Description abstract WorkerSet
getWorkersSet(Complexity complexity)
abstract void
close()
Leave the cluster. -
-
Method Detail
-
getWorkersSet
abstract WorkerSet getWorkersSet(Complexity complexity)
- Parameters:
complexity
- a simulation's complexity- Returns:
Workers' set that can execute a simulation with given complexity
-
close
abstract void close()
Leave the cluster.
-
-
-
-