01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * 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: package org.apache.jmeter.monitor.model;
18:
19: /**
20: *
21: * @version $Revision: 493787 $ on $Date: 2007-01-07 18:02:23 +0000 (Sun, 07 Jan 2007) $
22: */
23: public class RequestInfoImpl implements RequestInfo {
24: private long bytesReceived = 0;
25:
26: private long bytesSent = 0;
27:
28: private long requestCount = 0;
29:
30: private long errorCount = 0;
31:
32: private int maxTime = 0;
33:
34: private int processingTime = 0;
35:
36: /**
37: *
38: */
39: public RequestInfoImpl() {
40: super ();
41: }
42:
43: public long getBytesReceived() {
44: return this .bytesReceived;
45: }
46:
47: public void setBytesReceived(long value) {
48: this .bytesReceived = value;
49: }
50:
51: public long getBytesSent() {
52: return this .bytesSent;
53: }
54:
55: public void setBytesSent(long value) {
56: this .bytesSent = value;
57: }
58:
59: public long getRequestCount() {
60: return requestCount;
61: }
62:
63: public void setRequestCount(long value) {
64: this .requestCount = value;
65: }
66:
67: public long getErrorCount() {
68: return this .errorCount;
69: }
70:
71: public void setErrorCount(long value) {
72: this .errorCount = value;
73: }
74:
75: public int getMaxTime() {
76: return this .maxTime;
77: }
78:
79: public void setMaxTime(int value) {
80: this .maxTime = value;
81: }
82:
83: public int getProcessingTime() {
84: return this .processingTime;
85: }
86:
87: public void setProcessingTime(int value) {
88: this.processingTime = value;
89: }
90:
91: }
|