at.borkowski.scovillej.simulation

Interface PhaseHandler

  • All Known Subinterfaces:
    SimulationEvent


    public interface PhaseHandler
    Represents a class handling phase (tick) events.
    • Method Detail

      • getPhaseSubcription

        Collection<String> getPhaseSubcription()
        Returns an array of phases this handler needs to process. This class' executePhase(SimulationContext) will be called only for these phases. If this method returns null, it is called only for the default "tick" phase (see Simulation.TICK_PHASE).
        Returns:
        the phases reuqired for this phase handler, or null if only the "tick" phase is required.
      • executePhase

        void executePhase(SimulationContext context)
        Called when a phase is being processed. The current phase and tick can be queried in the supplied context parameter.
        Parameters:
        context - The SimulationContext representing the current state of the simulation.

Copyright © 2015. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14