01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.server;
06:
07: import com.tc.config.schema.L2Info;
08:
09: public interface TCServer {
10: void start() throws Exception;
11:
12: void stop();
13:
14: boolean isStarted();
15:
16: boolean isActive();
17:
18: boolean isStopped();
19:
20: long getStartTime();
21:
22: void updateActivateTime();
23:
24: long getActivateTime();
25:
26: boolean canShutdown();
27:
28: void shutdown();
29:
30: String getDescriptionOfCapabilities();
31:
32: L2Info[] infoForAllL2s();
33:
34: void startBeanShell(int port);
35:
36: public int getDSOListenPort();
37:
38: public void dump();
39: }
|