Interface Cluster

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    
    public interface Cluster
     implements AutoCloseable
                        

    The entity that represent the joined cluster.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract WorkerSet getWorkersSet(Complexity complexity)
      abstract void close() Leave the cluster.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.