Interface BatchedScheduler

  • All Implemented Interfaces:
    it.unibo.alchemist.core.Scheduler

    
    public interface BatchedScheduler<T>
     implements Scheduler<T>
                        

    Extension to Scheduler to allow for batched retrieval from the queue.

    • 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 List<Actionable<T>> getNextBatch() Retrieve the next scheduled batch of reactions.
      • Methods inherited from class it.unibo.alchemist.core.Scheduler

        addReaction, getNext, removeReaction, updateReaction
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getNextBatch

         abstract List<Actionable<T>> getNextBatch()

        Retrieve the next scheduled batch of reactions.

        Returns:

        batch of reactions to execute