KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > async > api > StageManager


1 package com.tc.async.api;
2
3 import com.tc.logging.TCLoggerProvider;
4
5 /*
6  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
7  */

8 /**
9  * @author steve This is the interface for an early version of our custom seda implementation take it with a grain of
10  * salt
11  */

12 public interface StageManager {
13   public Stage createStage(String JavaDoc name, EventHandler handler, int threads, int maxSize);
14
15   public void startStage(Stage stage, ConfigurationContext context);
16
17   public void startAll(ConfigurationContext context);
18
19   public void stopStage(Stage stage);
20
21   public void stopAll();
22
23   public Stage getStage(String JavaDoc name);
24
25   public void setLoggerProvider(TCLoggerProvider loggerProvider);
26
27 }
Popular Tags