org.curjent.test.agent
Class CapacityTest.CapacityTestTask

java.lang.Object
  extended by org.curjent.test.agent.TestTask
      extended by org.curjent.test.agent.CapacityTest.CapacityTestTask
Enclosing class:
CapacityTest

@Capacity(accepted=4,
          pending=3,
          timeout=2L,
          unit=MILLISECONDS)
 class CapacityTest.CapacityTestTask
extends TestTask


Field Summary
(package private)  int count
           
 
Constructor Summary
CapacityTest.CapacityTestTask()
           
 
Method Summary
(package private)  void await(CountDownLatch latch)
           
(package private)  void await(CountDownLatch latch1, CountDownLatch latch2)
           
(package private)  int getCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

int count
Constructor Detail

CapacityTest.CapacityTestTask

CapacityTest.CapacityTestTask()
Method Detail

await

void await(CountDownLatch latch)
     throws InterruptedException
Throws:
InterruptedException

await

void await(CountDownLatch latch1,
           CountDownLatch latch2)
     throws InterruptedException
Throws:
InterruptedException

getCount

int getCount()


Copyright 2009-2011 Tom Landon
Apache License 2.0