01: /**
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */package com.tc.util.concurrent;
04:
05: /**
06: * Inteface for passing around lifecycle state
07: */
08: public interface LifeCycleState {
09:
10: public void start();
11:
12: public boolean isStopRequested();
13:
14: public boolean stopAndWait(long waitTime);
15: }
|