KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > restart > unit > RestartUnitTestApp


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.tctest.restart.unit;
5
6 import com.tctest.restart.RestartTestApp;
7
8 public interface RestartUnitTestApp extends RestartTestApp {
9
10   public void attemptLock();
11
12   /**
13    * Commands the app to release the lock.
14    */

15   public void fallThrough();
16
17   public void doWait(long millis);
18
19   public void doNotifyAll();
20
21   public void doNotify();
22
23   /**
24    * Sets the shared lock, turning it into a managed object.
25    */

26   public void setDistributedSharedLock(Object JavaDoc lck);
27
28   /**
29    * Sets the shared lock, but doesn't turn it into a managed object.
30    */

31   public void setSharedLock(Object JavaDoc lck);
32
33 }
34
Popular Tags