org.ourgrid.test.functionaltests.busywait
Class PeerGumsInStateCondition

java.lang.Object
  extended by org.ourgrid.test.functionaltests.busywait.PeerGumsInStateCondition
All Implemented Interfaces:
WaitCondition

public class PeerGumsInStateCondition
extends java.lang.Object
implements WaitCondition


Constructor Summary
PeerGumsInStateCondition(PeerUnit peerUnit, int numberOfGums, AllocationStatus allocationStatus)
           
 
Method Summary
 boolean verifyCondition()
          Verifies a certain condition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeerGumsInStateCondition

public PeerGumsInStateCondition(PeerUnit peerUnit,
                                int numberOfGums,
                                AllocationStatus allocationStatus)
Method Detail

verifyCondition

public boolean verifyCondition()
                        throws java.lang.Exception
Description copied from interface: WaitCondition
Verifies a certain condition.

Specified by:
verifyCondition in interface WaitCondition
Returns:
True if condition has been met, false otherwise.
Throws:
java.lang.Exception - In case the condition could not be verfied.