KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > util > concurrent > LifeCycleState


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.util.concurrent;
5
6 /**
7  * Inteface for passing around lifecycle state
8  */

9 public interface LifeCycleState {
10   
11   public void start();
12   
13   public boolean isStopRequested();
14
15   public boolean stopAndWait(long waitTime);
16 }
17
Popular Tags