01: package com.tc.async.api;
02:
03: import com.tc.logging.TCLoggerProvider;
04:
05: /*
06: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
07: */
08: /**
09: * @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 name, EventHandler handler,
14: int threads, int maxSize);
15:
16: public void startStage(Stage stage, ConfigurationContext context);
17:
18: public void startAll(ConfigurationContext context);
19:
20: public void stopStage(Stage stage);
21:
22: public void stopAll();
23:
24: public Stage getStage(String name);
25:
26: public void setLoggerProvider(TCLoggerProvider loggerProvider);
27:
28: }
|