org.curjent.test.agent
Class FutureTest.FutureTestTask

java.lang.Object
  extended by org.curjent.test.agent.TestTask
      extended by org.curjent.test.agent.FutureTest.FutureTestTask
Enclosing class:
FutureTest

 class FutureTest.FutureTestTask
extends TestTask


Field Summary
(package private)  Integer value
           
 
Constructor Summary
FutureTest.FutureTestTask()
           
 
Method Summary
 Future<Boolean> getBooleanFuture()
           
(package private)  boolean getBoxedBoolean()
           
(package private)  byte getBoxedByte()
           
(package private)  char getBoxedChar()
           
(package private)  double getBoxedDouble()
           
(package private)  float getBoxedFloat()
           
(package private)  int getBoxedInt()
           
(package private)  long getBoxedLong()
           
(package private)  short getBoxedShort()
           
 Future<Boolean> getFuture(Future<Boolean> future)
           
 Future<Object> getFutureException()
           
 Future<Integer> getIntegerFuture(CountDownLatch latch)
           
 Future<Integer> getIntegerFuture(CountDownLatch entered, CountDownLatch finish)
           
 Future<Long> getLongFuture(CountDownLatch entered, CountDownLatch finish)
           
 Integer getValue()
           
(package private)  void voidCall()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

Integer value
Constructor Detail

FutureTest.FutureTestTask

FutureTest.FutureTestTask()
Method Detail

getValue

public Integer getValue()

getBoxedBoolean

boolean getBoxedBoolean()

getBoxedChar

char getBoxedChar()

getBoxedByte

byte getBoxedByte()

getBoxedShort

short getBoxedShort()

getBoxedInt

int getBoxedInt()

getBoxedLong

long getBoxedLong()

getBoxedFloat

float getBoxedFloat()

getBoxedDouble

double getBoxedDouble()

getBooleanFuture

public Future<Boolean> getBooleanFuture()

getFuture

@Synchronous
public Future<Boolean> getFuture(Future<Boolean> future)

getIntegerFuture

public Future<Integer> getIntegerFuture(CountDownLatch latch)
                                 throws InterruptedException
Throws:
InterruptedException

getIntegerFuture

public Future<Integer> getIntegerFuture(CountDownLatch entered,
                                        CountDownLatch finish)

getLongFuture

public Future<Long> getLongFuture(CountDownLatch entered,
                                  CountDownLatch finish)
                           throws InterruptedException
Throws:
InterruptedException

getFutureException

public Future<Object> getFutureException()

voidCall

void voidCall()


Copyright 2009-2011 Tom Landon
Apache License 2.0