KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jmeter > monitor > model > Worker


1 // $Header: /home/cvs/jakarta-jmeter/src/monitor/model/org/apache/jmeter/monitor/model/Worker.java,v 1.2 2004/03/13 22:45:17 sebb Exp $
2
/*
3  * Copyright 2004 The Apache Software Foundation.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17
18 package org.apache.jmeter.monitor.model;
19
20 /**
21  * @version $Revision: 1.2 $ on $Date: 2004/03/13 22:45:17 $
22  */

23 public interface Worker
24 {
25     int getRequestProcessingTime();
26
27     void setRequestProcessingTime(int value);
28
29     long getRequestBytesSent();
30
31     void setRequestBytesSent(long value);
32
33     java.lang.String JavaDoc getCurrentQueryString();
34
35     void setCurrentQueryString(java.lang.String JavaDoc value);
36
37     java.lang.String JavaDoc getRemoteAddr();
38
39     void setRemoteAddr(java.lang.String JavaDoc value);
40
41     java.lang.String JavaDoc getCurrentUri();
42
43     void setCurrentUri(java.lang.String JavaDoc value);
44
45     java.lang.String JavaDoc getStage();
46
47     void setStage(java.lang.String JavaDoc value);
48
49     java.lang.String JavaDoc getVirtualHost();
50
51     void setVirtualHost(java.lang.String JavaDoc value);
52
53     java.lang.String JavaDoc getProtocol();
54
55     void setProtocol(java.lang.String JavaDoc value);
56
57     long getRequestBytesReceived();
58
59     void setRequestBytesReceived(long value);
60
61     java.lang.String JavaDoc getMethod();
62
63     void setMethod(java.lang.String JavaDoc value);
64
65 }
66
Popular Tags