KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > test > server > appserver > load > ExitRequest


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.tc.test.server.appserver.load;
5
6 import org.apache.commons.httpclient.HttpClient;
7
8 import java.net.URL JavaDoc;
9
10 public class ExitRequest implements Request {
11
12   public void setEnterQueueTime() {
13     throw new RuntimeException JavaDoc("ExitRequest object has no data!");
14   }
15
16   public void setExitQueueTime() {
17     throw new RuntimeException JavaDoc("ExitRequest object has no data!");
18   }
19
20   public void setProcessCompletionTime() {
21     throw new RuntimeException JavaDoc("ExitRequest object has no data!");
22   }
23
24   public URL JavaDoc getUrl() {
25     throw new RuntimeException JavaDoc("ExitRequest object is not associated with an url!");
26   }
27
28   public long getEnterQueueTime() {
29     throw new RuntimeException JavaDoc("ExitRequest object has no data!");
30   }
31
32   public long getExitQueueTime() {
33     throw new RuntimeException JavaDoc("ExitRequest object has no data!");
34   }
35
36   public long getProcessCompletionTime() {
37     throw new RuntimeException JavaDoc("ExitRequest object has no data!");
38   }
39
40   public HttpClient getClient() {
41     throw new RuntimeException JavaDoc("ExitRequest object is not associated with a client!");
42   }
43
44   public int getAppserverID() {
45     throw new RuntimeException JavaDoc("ExitRequest object is not associated with an app server!");
46   }
47
48   public String JavaDoc toString() {
49     return "ExitRequest";
50   }
51
52   public String JavaDoc printData() {
53     throw new RuntimeException JavaDoc("ExitRequest object has no data!");
54   }
55 }
56
Popular Tags