001: /*
002: * Copyright (c) 2006, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
003: *
004: * Licensed under the Apache License, Version 2.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.apache.org/licenses/LICENSE-2.0
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016:
017: package org.wso2.esb.services.tos;
018:
019: /**
020: *
021: *
022: */
023:
024: public class OperationData {
025:
026: private int operationRequestCount;
027:
028: private int operationResponseCount;
029:
030: private int operationFaultCount;
031:
032: private long maxOperationResponseTime;
033:
034: private long minOperationResponseTime;
035:
036: private double avgOperationResponseTime;
037:
038: private String serviceName;
039:
040: private String operationName;
041:
042: public int getOperationRequestCount() {
043: return operationRequestCount;
044: }
045:
046: public void setOperationRequestCount(int operationRequestCount) {
047: this .operationRequestCount = operationRequestCount;
048: }
049:
050: public int getOperationResponseCount() {
051: return operationResponseCount;
052: }
053:
054: public void setOperationResponseCount(int operationResponseCount) {
055: this .operationResponseCount = operationResponseCount;
056: }
057:
058: public int getOperationFaultCount() {
059: return operationFaultCount;
060: }
061:
062: public void setOperationFaultCount(int operationFaultCount) {
063: this .operationFaultCount = operationFaultCount;
064: }
065:
066: public long getMaxOperationResponseTime() {
067: return maxOperationResponseTime;
068: }
069:
070: public void setMaxOperationResponseTime(
071: long maxOperationResponseTime) {
072: this .maxOperationResponseTime = maxOperationResponseTime;
073: }
074:
075: public long getMinOperationResponseTime() {
076: return minOperationResponseTime;
077: }
078:
079: public void setMinOperationResponseTime(
080: long minOperationResponseTime) {
081: this .minOperationResponseTime = minOperationResponseTime;
082: }
083:
084: public double getAvgOperationResponseTime() {
085: return avgOperationResponseTime;
086: }
087:
088: public void setAvgOperationResponseTime(
089: double avgOperationResponseTime) {
090: this .avgOperationResponseTime = avgOperationResponseTime;
091: }
092:
093: public String getServiceName() {
094: return serviceName;
095: }
096:
097: public void setServiceName(String serviceName) {
098: this .serviceName = serviceName;
099: }
100:
101: public String getOperationName() {
102: return operationName;
103: }
104:
105: public void setOperationName(String operationName) {
106: this.operationName = operationName;
107: }
108: }
|