de.cau.cs.kieler.core.kivi.test
Class TestCombinationSpammerSynchronized

java.lang.Object
  extended by de.cau.cs.kieler.core.kivi.AbstractCombination
      extended by de.cau.cs.kieler.core.kivi.test.TestCombinationSpammerSynchronized
All Implemented Interfaces:
ICombination, ITriggerListener

public class TestCombinationSpammerSynchronized
extends AbstractCombination

Test spamming of trigger states while using slow effects. This combination uses the synchronized spam trigger, that will synchronize on the effects queue. So the effects queue creates back pressure and blocks creation of new trigger states.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.core.kivi.AbstractCombination
FIFTH, FIRST, FOURTH, SECOND, SEVENTH, SIXTH, THIRD
 
Constructor Summary
TestCombinationSpammerSynchronized()
           
 
Method Summary
 void execute(TestTriggerSpammerSynchronized.SynchronizedSpamState state)
           
 
Methods inherited from class de.cau.cs.kieler.core.kivi.AbstractCombination
enableEffectRecording, getEffects, getTriggerStates, handle, isActive, latestState, latestStateIndex, schedule, schedule, setActive, toString, undo, undoRecordedEffects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestCombinationSpammerSynchronized

public TestCombinationSpammerSynchronized()
Method Detail

execute

public void execute(TestTriggerSpammerSynchronized.SynchronizedSpamState state)