Class ClusterImpl
-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.grid.cluster.Cluster
,java.lang.AutoCloseable
public final class ClusterImpl implements Cluster
An implementation of Cluster uses Apache Ignite.
-
-
Constructor Summary
Constructors Constructor Description ClusterImpl(Path configPath)
-
Method Summary
Modifier and Type Method Description WorkerSet
getWorkersSet(Complexity complexity)
void
close()
Leave the cluster. -
-
Constructor Detail
-
ClusterImpl
ClusterImpl(Path configPath)
- Parameters:
configPath
- path of Ignite's configuration file
-
-
Method Detail
-
getWorkersSet
WorkerSet getWorkersSet(Complexity complexity)
- Parameters:
complexity
- a simulation's complexity- Returns:
Workers' set that can execute a simulation with given complexity
-
close
void close()
Leave the cluster.
-
-
-
-