001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package org.apache.jmeter.monitor.model;
018:
019: /**
020: *
021: */
022: public class WorkerImpl implements Worker {
023: private int requestProcessingTime = 0;
024:
025: private long requestBytesSent = 0;
026:
027: private long requestBytesReceived = 0;
028:
029: private String currentQueryString = null;
030:
031: private String remoteAddr = null;
032:
033: private String currentUri = null;
034:
035: private String method = null;
036:
037: private String protocol = null;
038:
039: private String stage = null;
040:
041: private String virtualHost = null;
042:
043: /**
044: *
045: */
046: public WorkerImpl() {
047: super ();
048: }
049:
050: public int getRequestProcessingTime() {
051: return this .requestProcessingTime;
052: }
053:
054: public void setRequestProcessingTime(int value) {
055: this .requestProcessingTime = value;
056: }
057:
058: public long getRequestBytesSent() {
059: return this .requestBytesSent;
060: }
061:
062: public void setRequestBytesSent(long value) {
063: this .requestBytesSent = value;
064: }
065:
066: public String getCurrentQueryString() {
067: return this .currentQueryString;
068: }
069:
070: public void setCurrentQueryString(String value) {
071: this .currentQueryString = value;
072: }
073:
074: public String getRemoteAddr() {
075: return this .remoteAddr;
076: }
077:
078: public void setRemoteAddr(String value) {
079: this .remoteAddr = value;
080: }
081:
082: public String getCurrentUri() {
083: return this .currentUri;
084: }
085:
086: public void setCurrentUri(String value) {
087: this .currentUri = value;
088: }
089:
090: public String getStage() {
091: return this .stage;
092: }
093:
094: public void setStage(String value) {
095: this .stage = value;
096: }
097:
098: public String getVirtualHost() {
099: return this .virtualHost;
100: }
101:
102: public void setVirtualHost(String value) {
103: this .virtualHost = value;
104: }
105:
106: public String getProtocol() {
107: return this .protocol;
108: }
109:
110: public void setProtocol(String value) {
111: this .protocol = value;
112: }
113:
114: public long getRequestBytesReceived() {
115: return this .requestBytesReceived;
116: }
117:
118: public void setRequestBytesReceived(long value) {
119: this .requestBytesReceived = value;
120: }
121:
122: public String getMethod() {
123: return this .method;
124: }
125:
126: public void setMethod(String value) {
127: this.method = value;
128: }
129:
130: }
|