KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tcsimulator > distrunner > ServerSpec


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.tcsimulator.distrunner;
5
6 import java.util.List JavaDoc;
7
8 public interface ServerSpec {
9   public static final int CONTROL_SERVER = 0;
10   public static final int TEST_SERVER = 1;
11   public static final int BACKUP_SERVER = 2;
12
13   public boolean isNull();
14
15   public String JavaDoc getHostName();
16
17   public String JavaDoc getTestHome();
18
19   public List JavaDoc getJvmOpts();
20
21   public int getCache();
22
23   public int getJmxPort();
24
25   public int getDsoPort();
26
27   public ServerSpec copy();
28
29   public int getType();
30 }
31
Popular Tags