gedi-geode-extensions-core/src/main/java/gedi/solutions/geode/qa/GUnit.java
public void waitForMemberStop(String member, JMX jmx) throws InterruptedException
	{
		boolean isRunning =  true;
		boolean printedStartMember  = false;
		
		int count  = 0;
		while(isRunning && count < retryCount)
		{
			isRunning = GemFireInspector.checkMemberStatus(member,jmx);
			
			if(!printedStartMember )
			{
					Debugger.println("Waiting for member:"+member+" to stop.");
					printedStartMember = true;
			}
			
			delay();
			
			count++;
		}
		
		if(isRunning)
		{
			throw new RuntimeException("member:"+member+" failed to stop after "+retryCount+
					" checks with a delay of "+sleepDelay+" milliseconds");
		}
	}
public void waitForMemberStop(String member, JMX jmx) throws InterruptedException
	{
		boolean isRunning =  true;
		boolean printedStartMember  = false;
		
		int count  = 0;
		while(isRunning && count < retryCount)
		{
			isRunning = GemFireInspector.checkMemberStatus(member,jmx);
			
			if(!printedStartMember )
			{
					Debugger.println("Waiting for member:"+member+" to stop.");
					printedStartMember = true;
			}
			
			delay();
			
			count++;
		}
		
		if(isRunning)
		{
			throw new RuntimeException("member:"+member+" failed to stop after "+retryCount+
					" checks with a delay of "+sleepDelay+" milliseconds");
		}
	}
public void waitForMemberStop ( String member , JMX jmx ) throws InterruptedException { boolean isRunning = true ; boolean printedStartMember = false ; int count = 0 ; while ( isRunning && count < retryCount ) { isRunning = GemFireInspector . checkMemberStatus ( member , jmx ) ; if ( ! printedStartMember ) { Debugger . println ( "Waiting for member:" + member + " to stop." ) ; printedStartMember = true ; } delay ( ) ; count ++ ; } if ( isRunning ) { throw new RuntimeException ( "member:" + member + " failed to stop after " + retryCount + " checks with a delay of " + sleepDelay + " milliseconds" ) ; } }
Wait for a given member to startup
@param jmx the JMX connection
@param member the member to wait for
@throws InterruptedException when an communication error occurs
Wait for a given member to startup