org.curjent.test.agent
Class MultiTaskTest.MultiTask

java.lang.Object
  extended by org.curjent.test.agent.TestTask
      extended by org.curjent.test.agent.MultiTaskTest.MultiTask
All Implemented Interfaces:
MultiTaskTest.MultiAgent, TestAgent
Enclosing class:
MultiTaskTest

public static class MultiTaskTest.MultiTask
extends TestTask
implements MultiTaskTest.MultiAgent


Constructor Summary
MultiTaskTest.MultiTask()
           
 
Method Summary
 void countDownAndWait(CountDownLatch latch)
           
 void isolated(List<Integer> list, int value)
           
 void leading(List<Integer> list, int value, CountDownLatch latch)
           
 void mark(List<Integer> list, int value)
           
 void record(List<Integer> list, int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiTaskTest.MultiTask

public MultiTaskTest.MultiTask()
Method Detail

countDownAndWait

public void countDownAndWait(CountDownLatch latch)
                      throws InterruptedException
Specified by:
countDownAndWait in interface MultiTaskTest.MultiAgent
Throws:
InterruptedException

record

public void record(List<Integer> list,
                   int value)
Specified by:
record in interface MultiTaskTest.MultiAgent

mark

@Marker
public void mark(List<Integer> list,
                        int value)
Specified by:
mark in interface MultiTaskTest.MultiAgent

leading

@Leading
public void leading(List<Integer> list,
                            int value,
                            CountDownLatch latch)
             throws InterruptedException
Specified by:
leading in interface MultiTaskTest.MultiAgent
Throws:
InterruptedException

isolated

@Isolated
public void isolated(List<Integer> list,
                              int value)
Specified by:
isolated in interface MultiTaskTest.MultiAgent


Copyright 2009-2011 Tom Landon
Apache License 2.0