KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > simulator > control > Control


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.simulator.control;
5
6 import com.tc.util.TCTimeoutException;
7
8 public interface Control {
9   public void waitForStart(long timeout) throws TCTimeoutException, TCBrokenBarrierException, InterruptedException JavaDoc;
10   
11   public void notifyComplete();
12   
13   /**
14    * Returns true if all participants completed in time.
15    */

16   public boolean waitForAllComplete(long timeout) throws InterruptedException JavaDoc;
17 }
18
Popular Tags